From 163197fe221e5decbb9647541b0890b771f0ad46 Mon Sep 17 00:00:00 2001 From: Selasie Mortey Date: Wed, 22 Apr 2026 16:29:04 -0700 Subject: [PATCH] Add 2026-03-01 API resources for dataprotection backup-instance autoprotection - Add 2026-03-01 resource definitions for backupinstances, validateformodifybackup, and validateforbackup - Update command metadata for create, update, validate-for-backup, validate-for-update, delete, show Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../dataprotection/backup-instance/_create.md | 11 + .../dataprotection/backup-instance/_delete.md | 11 + .../dataprotection/backup-instance/_show.md | 11 + .../dataprotection/backup-instance/_update.md | 4 + .../backup-instance/_validate-for-backup.md | 11 + .../backup-instance/_validate-for-update.md | 4 + .../2026-03-01.json | 1 + .../2026-03-01.xml | 1915 +++++++++++++++++ .../2026-03-01.json | 1 + .../2026-03-01.xml | 465 ++++ .../2026-03-01.json | 1 + .../2026-03-01.xml | 471 ++++ 12 files changed, 2906 insertions(+) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.xml diff --git a/Commands/dataprotection/backup-instance/_create.md b/Commands/dataprotection/backup-instance/_create.md index 4172b2121..db7bc5faf 100644 --- a/Commands/dataprotection/backup-instance/_create.md +++ b/Commands/dataprotection/backup-instance/_create.md @@ -58,3 +58,14 @@ Configure backup for a resource in a backup vault ```bash dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json ``` + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml) **Stable** + + + +#### examples + +- creates a backup instance in a backup vault + ```bash + dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backupinstance.json + ``` diff --git a/Commands/dataprotection/backup-instance/_delete.md b/Commands/dataprotection/backup-instance/_delete.md index 31916b6e9..eb64f706b 100644 --- a/Commands/dataprotection/backup-instance/_delete.md +++ b/Commands/dataprotection/backup-instance/_delete.md @@ -58,3 +58,14 @@ Delete a backup instance in a backup vault ```bash dataprotection backup-instance delete --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" ``` + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml) **Stable** + + + +#### examples + +- Delete BackupInstance + ```bash + dataprotection backup-instance delete --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/backup-instance/_show.md b/Commands/dataprotection/backup-instance/_show.md index 33a9fe34b..ad19a391f 100644 --- a/Commands/dataprotection/backup-instance/_show.md +++ b/Commands/dataprotection/backup-instance/_show.md @@ -58,3 +58,14 @@ Get a backup instance with name in a backup vault ```bash dataprotection backup-instance show --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" ``` + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml) **Stable** + + + +#### examples + +- Get BackupInstance + ```bash + dataprotection backup-instance show --name "testInstance1" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1" + ``` diff --git a/Commands/dataprotection/backup-instance/_update.md b/Commands/dataprotection/backup-instance/_update.md index e681a5e01..8a269409e 100644 --- a/Commands/dataprotection/backup-instance/_update.md +++ b/Commands/dataprotection/backup-instance/_update.md @@ -23,3 +23,7 @@ Update a backup instance in a backup vault ### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2025-07-01.xml) **Stable** + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml) **Stable** + + diff --git a/Commands/dataprotection/backup-instance/_validate-for-backup.md b/Commands/dataprotection/backup-instance/_validate-for-backup.md index 20acf529c..05dc9a257 100644 --- a/Commands/dataprotection/backup-instance/_validate-for-backup.md +++ b/Commands/dataprotection/backup-instance/_validate-for-backup.md @@ -58,3 +58,14 @@ Validate whether adhoc backup will be successful or not ```bash dataprotection backup-instance validate-for-backup -g sample_rg --vault-name sample_backupvault --backup-instance backup_instance.json ``` + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.xml) **Stable** + + + +#### examples + +- Validate Backup + ```bash + dataprotection backup-instance validate-for-backup -g sample_rg --vault-name sample_backupvault --backup-instance backup_instance.json + ``` diff --git a/Commands/dataprotection/backup-instance/_validate-for-update.md b/Commands/dataprotection/backup-instance/_validate-for-update.md index 3b4916a4c..c0c543fb5 100644 --- a/Commands/dataprotection/backup-instance/_validate-for-update.md +++ b/Commands/dataprotection/backup-instance/_validate-for-update.md @@ -11,3 +11,7 @@ Validate whether update for backup instance will be successful or not ### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2025-07-01.xml) **Stable** + +### [2026-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.xml) **Stable** + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.json new file mode 100644 index 000000000..28fabb1ec --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyNi0wMy0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "show", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}], "operations": [{"operationId": "BackupInstances_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdlsBlobBackupDatasourceParameters"}, {"value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"value": "BlobBackupDatasourceParameters"}, {"value": "BlobBackupDatasourceParametersForAutoProtection"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "required": true}, {"type": "string", "name": "pattern", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_read"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_read", "name": "autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"readOnly": true, "type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"], "hide": true, "group": "", "help": {"short": "."}}, {"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"], "hide": true, "group": "", "help": {"short": "."}}, {"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.tags", "options": ["tags"], "hide": true, "group": "Parameters", "help": {"short": "Proxy Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.dataSourceInfo", "options": ["data-source-info"], "hide": true, "group": "Properties", "help": {"short": "Gets or sets the data source information."}, "args": [{"type": "string", "var": "$parameters.properties.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "$parameters.properties.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"blank": {"value": {}}, "type": "object", "var": "@BaseResourceProperties_create.DefaultResourceProperties", "options": ["default-resource-properties"]}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.properties.dataSourceSetInfo", "options": ["data-source-set-info"], "hide": true, "group": "Properties", "help": {"short": "Gets or sets the data source set information."}, "args": [{"type": "string", "var": "$parameters.properties.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "$parameters.properties.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.properties.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "hide": true, "group": "Properties", "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"type": "string", "var": "$parameters.properties.friendlyName", "options": ["friendly-name"], "hide": true, "group": "Properties", "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"type": "object", "var": "$parameters.properties.identityDetails", "options": ["identity-details"], "hide": true, "group": "Properties", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.properties.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.properties.objectType", "options": ["object-type"], "hide": true, "group": "Properties", "help": {"short": "-"}}, {"type": "object", "var": "$parameters.properties.policyInfo", "options": ["policy-info"], "hide": true, "group": "Properties", "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyId", "options": ["policy-id"], "required": true}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "options": ["adls-blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "options": ["adls-blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}, "args": [{"type": "boolean", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "options": ["enabled"], "required": true, "help": {"short": "Flag to enable whether auto protection."}}, {"type": "array", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "options": ["rules"], "help": {"short": "Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates. If no rules are present, all containers are considered eligible when enabled = true."}, "item": {"type": "object", "args": [{"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "options": ["mode"], "required": true, "help": {"short": "Exclude removes candidates (after inclusion)"}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}]}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "options": ["pattern"], "required": true, "help": {"short": "The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex)."}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "options": ["type"], "required": true, "help": {"short": "Pattern type: Prefix, only pattern type supported for now."}, "enum": {"items": [{"name": "Prefix", "value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "options": ["blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "options": ["included-volume-types"], "help": {"short": "Gets or sets the include volume types property. This property sets the volume types to be included during backup."}, "item": {"type": "string", "enum": {"items": [{"name": "AzureDisk", "value": "AzureDisk"}, {"name": "AzureFileShareSMB", "value": "AzureFileShareSMB"}]}}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "required": true, "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore."}}]}]}}, {"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "hide": true, "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.validationType", "options": ["validation-type"], "hide": true, "group": "Properties", "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.properties.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@BaseResourceProperties_create.DefaultResourceProperties", "value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.properties.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.properties.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.properties.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.properties.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.properties.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.properties.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.properties.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.properties.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "value": "AdlsBlobBackupDatasourceParameters"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "value": "BlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "required": true}, {"type": "string", "name": "pattern", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "required": true}, {"type": "string", "name": "type", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "name": "autoProtectionSettings", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "arg": "$parameters.properties.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdlsBlobBackupDatasourceParameters"}, {"value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"value": "BlobBackupDatasourceParameters"}, {"value": "BlobBackupDatasourceParametersForAutoProtection"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "required": true}, {"type": "string", "name": "pattern", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_read"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_read", "name": "autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"readOnly": true, "type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfQ==/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"], "hide": true, "group": "", "help": {"short": "."}}, {"type": "string", "var": "$Path.backupInstanceName", "options": ["n", "name", "backup-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Proxy Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.dataSourceInfo", "options": ["data-source-info"], "group": "Properties", "help": {"short": "Gets or sets the data source information."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceInfo.resourceID", "options": ["resource-id"], "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"blank": {"value": {}}, "type": "object", "var": "@BaseResourceProperties_update.DefaultResourceProperties", "options": ["default-resource-properties"]}], "cls": "BaseResourceProperties_update"}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.dataSourceSetInfo", "options": ["data-source-set-info"], "group": "Properties", "help": {"short": "Gets or sets the data source set information."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceID", "options": ["resource-id"], "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"nullable": true, "type": "@BaseResourceProperties_update", "var": "$parameters.properties.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.datasourceAuthCredentials", "options": ["datasource-auth-creds", "datasource-auth-credentials"], "group": "Properties", "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.friendlyName", "options": ["friendly-name"], "group": "Properties", "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.identityDetails", "options": ["identity-details"], "group": "Properties", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.properties.objectType", "options": ["object-type"], "group": "Properties", "help": {"short": "Type of Backup or Restore Instance for request body."}}, {"type": "object", "var": "$parameters.properties.policyInfo", "options": ["policy-info"], "group": "Properties", "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.properties.policyInfo.policyId", "options": ["policy-id"]}, {"nullable": true, "type": "object", "var": "$parameters.properties.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "options": ["adls-blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "options": ["adls-blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "help": {"short": "AutoProtection settings"}, "args": [{"type": "boolean", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.enabled", "options": ["enabled"], "help": {"short": "Flag to enable whether auto protection."}}, {"nullable": true, "type": "array", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules", "options": ["rules"], "help": {"short": "Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates. If no rules are present, all containers are considered eligible when enabled = true."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].mode", "options": ["mode"], "help": {"short": "Exclude removes candidates (after inclusion)"}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}]}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].objectType", "options": ["object-type"], "help": {"short": "Type of the specific object - used for deserializing"}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].pattern", "options": ["pattern"], "help": {"short": "The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex)."}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].type", "options": ["type"], "help": {"short": "Pattern type: Prefix, only pattern type supported for now."}, "enum": {"items": [{"name": "Prefix", "value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_update"}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "options": ["blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_update", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "help": {"short": "AutoProtection settings"}}]}, {"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup."}, "item": {"nullable": true, "type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during backup."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during backup."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "options": ["included-volume-types"], "help": {"short": "Gets or sets the include volume types property. This property sets the volume types to be included during backup."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AzureDisk", "value": "AzureDisk"}, {"name": "AzureFileShareSMB", "value": "AzureFileShareSMB"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup."}, "item": {"nullable": true, "type": "string"}}, {"type": "boolean", "var": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup."}}]}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.validationType", "options": ["validation-type"], "group": "Properties", "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}], "operations": [{"operationId": "BackupInstances_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "currentProtectionState", "enum": {"items": [{"value": "BackupSchedulesSuspended"}, {"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "Invalid"}, {"value": "NotProtected"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionError"}, {"value": "ProtectionStopped"}, {"value": "RetentionSchedulesSuspended"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}, {"value": "UpdatingProtection"}]}}, {"type": "object", "name": "dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "object", "name": "resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_read"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType"}, {"type": "string", "name": "objectType"}, {"type": "string", "name": "resourceID", "required": true}, {"type": "string", "name": "resourceLocation"}, {"type": "string", "name": "resourceName"}, {"type": "@BaseResourceProperties_read", "name": "resourceProperties"}, {"type": "string", "name": "resourceType"}, {"type": "string", "name": "resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri"}, {"type": "string", "name": "value"}]}]}]}, {"type": "string", "name": "friendlyName"}, {"type": "object", "name": "identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "required": true}, {"type": "object", "name": "policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "required": true}, {"type": "object", "name": "policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AdlsBlobBackupDatasourceParameters"}, {"value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"value": "BlobBackupDatasourceParameters"}, {"value": "BlobBackupDatasourceParametersForAutoProtection"}, {"value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "required": true}, {"type": "string", "name": "pattern", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_read"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_read", "name": "autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId"}]}]}}]}, {"readOnly": true, "type": "string", "name": "policyVersion"}]}, {"readOnly": true, "type": "@UserFacingError_read", "name": "protectionErrorDetails"}, {"readOnly": true, "type": "object", "name": "protectionStatus", "props": [{"type": "object", "name": "errorDetails", "props": [{"type": "string", "name": "code"}, {"type": "array<@UserFacingError_read>", "name": "details", "item": {"type": "@UserFacingError_read"}}, {"type": "object", "name": "innerError", "props": [{"type": "object", "name": "additionalInfo", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "code"}, {"type": "@InnerError_read", "name": "embeddedInnerError"}], "cls": "InnerError_read"}, {"type": "boolean", "name": "isRetryable"}, {"type": "boolean", "name": "isUserError"}, {"type": "string", "name": "message"}, {"type": "object", "name": "properties", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "recommendedAction", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "UserFacingError_read"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "ConfiguringProtection"}, {"value": "ConfiguringProtectionFailed"}, {"value": "ProtectionConfigured"}, {"value": "ProtectionStopped"}, {"value": "SoftDeleted"}, {"value": "SoftDeleting"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "BackupInstanceResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.properties.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@BaseResourceProperties_update.DefaultResourceProperties", "value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_update"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.properties.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.properties.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.properties.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.properties.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.properties.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_update", "name": "resourceProperties", "arg": "$parameters.properties.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.properties.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.properties.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.properties.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.properties.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.properties.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.properties.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.properties.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.properties.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.properties.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.properties.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.properties.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.properties.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "value": "AdlsBlobBackupDatasourceParameters"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "value": "BlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].objectType", "required": true}, {"type": "string", "name": "pattern", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].pattern", "required": true}, {"type": "string", "name": "type", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_update.rules[].type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_update"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_update", "name": "autoProtectionSettings", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.properties.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.properties.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "arg": "$parameters.properties.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupInstanceResource_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml new file mode 100644 index 000000000..987cac294 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9/2026-03-01.xml @@ -0,0 +1,1915 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+ + +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.json new file mode 100644 index 000000000..b914f60d3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validateformodifybackup", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS92YWxpZGF0ZUZvck1vZGlmeUJhY2t1cA==/V/MjAyNi0wMy0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "validate-for-update", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/backupinstances/{}/validateformodifybackup", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L2JhY2t1cEluc3RhbmNlcy97YmFja3VwSW5zdGFuY2VOYW1lfS92YWxpZGF0ZUZvck1vZGlmeUJhY2t1cA==/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.backupInstanceName", "options": ["backup-instance-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the backup instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.backupInstance", "options": ["backup-instance"], "required": true, "group": "Parameters", "help": {"short": "Backup Instance"}, "args": [{"type": "object", "var": "$parameters.backupInstance.dataSourceInfo", "options": ["data-source-info"], "required": true, "help": {"short": "Gets or sets the data source information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"blank": {"value": {}}, "type": "object", "var": "@BaseResourceProperties_create.DefaultResourceProperties", "options": ["default-resource-properties"]}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.dataSourceSetInfo", "options": ["data-source-set-info"], "help": {"short": "Gets or sets the data source set information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"type": "string", "var": "$parameters.backupInstance.friendlyName", "options": ["friendly-name"], "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"type": "object", "var": "$parameters.backupInstance.identityDetails", "options": ["identity-details"], "group": "", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.backupInstance.objectType", "options": ["object-type"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo", "options": ["policy-info"], "required": true, "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyId", "options": ["policy-id"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "options": ["adls-blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "options": ["adls-blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}, "args": [{"type": "boolean", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "options": ["enabled"], "required": true, "help": {"short": "Flag to enable whether auto protection."}}, {"type": "array", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "options": ["rules"], "help": {"short": "Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates. If no rules are present, all containers are considered eligible when enabled = true."}, "item": {"type": "object", "args": [{"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "options": ["mode"], "required": true, "help": {"short": "Exclude removes candidates (after inclusion)"}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}]}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "options": ["pattern"], "required": true, "help": {"short": "The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex)."}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "options": ["type"], "required": true, "help": {"short": "Pattern type: Prefix, only pattern type supported for now."}, "enum": {"items": [{"name": "Prefix", "value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "options": ["blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup."}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during backup."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during backup."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "options": ["included-volume-types"], "help": {"short": "Gets or sets the include volume types property. This property sets the volume types to be included during backup."}, "item": {"type": "string", "enum": {"items": [{"name": "AzureDisk", "value": "AzureDisk"}, {"name": "AzureFileShareSMB", "value": "AzureFileShareSMB"}]}}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "required": true, "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup."}}]}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"type": "array", "var": "$parameters.backupInstance.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.backupInstance.validationType", "options": ["validation-type"], "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_ValidateForModifyBackup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateForModifyBackup", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "backupInstanceName", "arg": "$Path.backupInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true, "format": {"pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$", "maxLength": 50, "minLength": 2}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "backupInstance", "arg": "$parameters.backupInstance", "required": true, "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.backupInstance.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@BaseResourceProperties_create.DefaultResourceProperties", "value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.backupInstance.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.backupInstance.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.backupInstance.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.backupInstance.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.backupInstance.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.backupInstance.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.backupInstance.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "value": "AdlsBlobBackupDatasourceParameters"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "value": "BlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "required": true}, {"type": "string", "name": "pattern", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "required": true}, {"type": "string", "name": "type", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "name": "autoProtectionSettings", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.backupInstance.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "arg": "$parameters.backupInstance.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.xml new file mode 100644 index 000000000..0dac37c58 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vYmFja3VwaW5zdGFuY2VzL3t9L3ZhbGlkYXRlZm9ybW9kaWZ5YmFja3Vw/2026-03-01.xml @@ -0,0 +1,465 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.json new file mode 100644 index 000000000..55f63e68a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L3ZhbGlkYXRlRm9yQmFja3Vw/V/MjAyNi0wMy0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-instance", "commands": [{"name": "validate-for-backup", "version": "2026-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}/validateforbackup", "version": "2026-03-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9L3ZhbGlkYXRlRm9yQmFja3Vw/V/MjAyNi0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.backupInstance", "options": ["backup-instance"], "required": true, "group": "Parameters", "help": {"short": "Backup Instance"}, "args": [{"type": "object", "var": "$parameters.backupInstance.dataSourceInfo", "options": ["data-source-info"], "required": true, "help": {"short": "Gets or sets the data source information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "object", "var": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source"}, "args": [{"blank": {"value": {}}, "type": "object", "var": "@BaseResourceProperties_create.DefaultResourceProperties", "options": ["default-resource-properties"]}], "cls": "BaseResourceProperties_create"}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.dataSourceSetInfo", "options": ["data-source-set-info"], "help": {"short": "Gets or sets the data source set information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.datasourceType", "options": ["datasource-type"], "help": {"short": "DatasourceType of the resource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.objectType", "options": ["object-type"], "help": {"short": "Type of Datasource object, used to initialize the right inherited type"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "options": ["resource-id"], "required": true, "help": {"short": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation", "options": ["resource-location"], "help": {"short": "Location of datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceName", "options": ["resource-name"], "help": {"short": "Unique identifier of the resource in the context of parent."}}, {"type": "@BaseResourceProperties_create", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties", "options": ["resource-properties"], "help": {"short": "Properties specific to data source set"}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceType", "options": ["resource-type"], "help": {"short": "Resource Type of Datasource."}}, {"type": "string", "var": "$parameters.backupInstance.dataSourceSetInfo.resourceUri", "options": ["resource-uri"], "help": {"short": "Uri of the resource."}}]}, {"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials", "options": ["datasource-auth-credentials"], "help": {"short": "Credentials to use to authenticate with data source provider."}, "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "options": ["secret-store-based-auth-credentials"], "args": [{"type": "object", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "options": ["secret-store-resource"], "help": {"short": "Secret store resource"}, "args": [{"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "options": ["secret-store-type"], "required": true, "help": {"short": "Gets or sets the type of secret store"}, "enum": {"items": [{"name": "AzureKeyVault", "value": "AzureKeyVault"}, {"name": "Invalid", "value": "Invalid"}]}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri", "options": ["uri"], "help": {"short": "Uri to get to the resource"}}, {"type": "string", "var": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value", "options": ["value"], "help": {"short": "Gets or sets value stored in secret store resource"}}]}]}]}, {"type": "string", "var": "$parameters.backupInstance.friendlyName", "options": ["friendly-name"], "help": {"short": "Gets or sets the Backup Instance friendly name."}}, {"type": "object", "var": "$parameters.backupInstance.identityDetails", "options": ["identity-details"], "group": "", "help": {"short": "Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned."}, "args": [{"type": "boolean", "var": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity", "options": ["use-system-assigned-identity"], "help": {"short": "Specifies if the BI is protected by System Identity."}}, {"type": "string", "var": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl", "options": ["user-assigned-identity-arm-url"], "help": {"short": "ARM URL for User Assigned Identity."}}]}, {"type": "string", "var": "$parameters.backupInstance.objectType", "options": ["object-type"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo", "options": ["policy-info"], "required": true, "help": {"short": "Gets or sets the policy information."}, "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyId", "options": ["policy-id"], "required": true}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters", "options": ["policy-parameters"], "help": {"short": "Policy parameters for the backup instance"}, "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "options": ["backup-datasource-parameters-list"], "help": {"short": "Gets or sets the Backup Data Source Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "options": ["adls-blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "options": ["adls-blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}, "args": [{"type": "boolean", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "options": ["enabled"], "required": true, "help": {"short": "Flag to enable whether auto protection."}}, {"type": "array", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "options": ["rules"], "help": {"short": "Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates. If no rules are present, all containers are considered eligible when enabled = true."}, "item": {"type": "object", "args": [{"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "options": ["mode"], "required": true, "help": {"short": "Exclude removes candidates (after inclusion)"}, "enum": {"items": [{"name": "Exclude", "value": "Exclude"}]}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "options": ["object-type"], "required": true, "help": {"short": "Type of the specific object - used for deserializing"}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "options": ["pattern"], "required": true, "help": {"short": "The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex)."}}, {"type": "string", "var": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "options": ["type"], "required": true, "help": {"short": "Pattern type: Prefix, only pattern type supported for now."}, "enum": {"items": [{"name": "Prefix", "value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "options": ["blob-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "options": ["containers-list"], "required": true, "help": {"short": "List of containers to be backed up during configuration of backup of blobs"}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "options": ["blob-backup-datasource-parameters-for-auto-protection"], "args": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "options": ["auto-protection-settings"], "required": true, "help": {"short": "AutoProtection settings"}}]}, {"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "options": ["kubernetes-cluster-backup-datasource-parameters"], "args": [{"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "options": ["backup-hook-references"], "help": {"short": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name", "options": ["name"], "help": {"short": "Name of the resource"}}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace", "options": ["namespace"], "help": {"short": "Namespace in which the resource exists"}}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "options": ["excluded-namespaces"], "help": {"short": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "options": ["excluded-resource-types"], "help": {"short": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "options": ["include-cluster-scope-resources"], "required": true, "help": {"short": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore."}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "options": ["included-namespaces"], "help": {"short": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "options": ["included-resource-types"], "help": {"short": "Gets or sets the include resource types property. This property sets the resource types to be included during restore."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "options": ["included-volume-types"], "help": {"short": "Gets or sets the include volume types property. This property sets the volume types to be included during backup."}, "item": {"type": "string", "enum": {"items": [{"name": "AzureDisk", "value": "AzureDisk"}, {"name": "AzureFileShareSMB", "value": "AzureFileShareSMB"}]}}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "options": ["label-selectors"], "help": {"short": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "options": ["snapshot-volumes"], "required": true, "help": {"short": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore."}}]}]}}, {"type": "array", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "options": ["data-store-parameters-list"], "help": {"short": "Gets or sets the DataStore Parameters"}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "options": ["azure-operational-store-parameters"], "args": [{"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId", "options": ["resource-group-id"], "help": {"short": "Gets or sets the Snapshot Resource Group Uri."}}]}, {"type": "string", "var": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "options": ["data-store-type"], "required": true, "help": {"short": "type of datastore; Operational/Vault/Archive"}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}]}}]}]}, {"type": "array", "var": "$parameters.backupInstance.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.backupInstance.validationType", "options": ["validation-type"], "help": {"short": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again."}, "enum": {"items": [{"name": "DeepValidation", "value": "DeepValidation"}, {"name": "ShallowValidation", "value": "ShallowValidation"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BackupInstances_ValidateForBackup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "backupInstance", "arg": "$parameters.backupInstance", "required": true, "props": [{"type": "object", "name": "dataSourceInfo", "arg": "$parameters.backupInstance.dataSourceInfo", "required": true, "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceInfo.resourceName"}, {"type": "object", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceInfo.resourceProperties", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "@BaseResourceProperties_create.DefaultResourceProperties", "value": "DefaultResourceProperties"}]}}], "discriminators": [{"property": "objectType", "value": "DefaultResourceProperties"}], "cls": "BaseResourceProperties_create"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceInfo.resourceUri"}]}, {"type": "object", "name": "dataSourceSetInfo", "arg": "$parameters.backupInstance.dataSourceSetInfo", "props": [{"type": "string", "name": "datasourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.datasourceType"}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.dataSourceSetInfo.objectType"}, {"type": "string", "name": "resourceID", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceID", "required": true}, {"type": "string", "name": "resourceLocation", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceLocation"}, {"type": "string", "name": "resourceName", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceName"}, {"type": "@BaseResourceProperties_create", "name": "resourceProperties", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceProperties"}, {"type": "string", "name": "resourceType", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceType"}, {"type": "string", "name": "resourceUri", "arg": "$parameters.backupInstance.dataSourceSetInfo.resourceUri"}]}, {"type": "object", "name": "datasourceAuthCredentials", "arg": "$parameters.backupInstance.datasourceAuthCredentials", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials", "value": "SecretStoreBasedAuthCredentials"}]}}], "discriminators": [{"property": "objectType", "value": "SecretStoreBasedAuthCredentials", "props": [{"type": "object", "name": "secretStoreResource", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource", "props": [{"type": "string", "name": "secretStoreType", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.secretStoreType", "required": true, "enum": {"items": [{"value": "AzureKeyVault"}, {"value": "Invalid"}]}}, {"type": "string", "name": "uri", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.uri"}, {"type": "string", "name": "value", "arg": "$parameters.backupInstance.datasourceAuthCredentials.SecretStoreBasedAuthCredentials.secretStoreResource.value"}]}]}]}, {"type": "string", "name": "friendlyName", "arg": "$parameters.backupInstance.friendlyName"}, {"type": "object", "name": "identityDetails", "arg": "$parameters.backupInstance.identityDetails", "props": [{"type": "boolean", "name": "useSystemAssignedIdentity", "arg": "$parameters.backupInstance.identityDetails.useSystemAssignedIdentity"}, {"type": "string", "name": "userAssignedIdentityArmUrl", "arg": "$parameters.backupInstance.identityDetails.userAssignedIdentityArmUrl"}]}, {"type": "string", "name": "objectType", "arg": "$parameters.backupInstance.objectType", "required": true}, {"type": "object", "name": "policyInfo", "arg": "$parameters.backupInstance.policyInfo", "required": true, "props": [{"type": "string", "name": "policyId", "arg": "$parameters.backupInstance.policyInfo.policyId", "required": true}, {"type": "object", "name": "policyParameters", "arg": "$parameters.backupInstance.policyInfo.policyParameters", "props": [{"type": "array", "name": "backupDatasourceParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters", "value": "AdlsBlobBackupDatasourceParameters"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters", "value": "BlobBackupDatasourceParameters"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection", "value": "BlobBackupDatasourceParametersForAutoProtection"}, {"arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters", "value": "KubernetesClusterBackupDatasourceParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AdlsBlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "AdlsBlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "object", "name": "autoProtectionSettings", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].AdlsBlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true, "props": [{"type": "boolean", "name": "enabled", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.enabled", "required": true}, {"const": true, "default": {"value": "BlobBackupRuleBasedAutoProtectionSettings"}, "type": "string", "name": "objectType", "required": true}, {"type": "array", "name": "rules", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules", "item": {"type": "object", "props": [{"type": "string", "name": "mode", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].mode", "required": true, "enum": {"items": [{"value": "Exclude"}]}}, {"type": "string", "name": "objectType", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].objectType", "required": true}, {"type": "string", "name": "pattern", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].pattern", "required": true}, {"type": "string", "name": "type", "arg": "@BlobBackupRuleBasedAutoProtectionSettings_create.rules[].type", "required": true, "enum": {"items": [{"value": "Prefix"}]}}]}}], "cls": "BlobBackupRuleBasedAutoProtectionSettings_create"}]}, {"property": "objectType", "value": "BlobBackupDatasourceParameters", "props": [{"type": "array", "name": "containersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParameters.containersList", "required": true, "item": {"type": "string"}}]}, {"property": "objectType", "value": "BlobBackupDatasourceParametersForAutoProtection", "props": [{"type": "@BlobBackupRuleBasedAutoProtectionSettings_create", "name": "autoProtectionSettings", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].BlobBackupDatasourceParametersForAutoProtection.autoProtectionSettings", "required": true}]}, {"property": "objectType", "value": "KubernetesClusterBackupDatasourceParameters", "props": [{"type": "array", "name": "backupHookReferences", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].name"}, {"type": "string", "name": "namespace", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.backupHookReferences[].namespace"}]}}, {"type": "array", "name": "excludedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "excludedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.excludedResourceTypes", "item": {"type": "string"}}, {"type": "boolean", "name": "includeClusterScopeResources", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includeClusterScopeResources", "required": true}, {"type": "array", "name": "includedNamespaces", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedNamespaces", "item": {"type": "string"}}, {"type": "array", "name": "includedResourceTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedResourceTypes", "item": {"type": "string"}}, {"type": "array", "name": "includedVolumeTypes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.includedVolumeTypes", "item": {"type": "string", "enum": {"items": [{"value": "AzureDisk"}, {"value": "AzureFileShareSMB"}]}}}, {"type": "array", "name": "labelSelectors", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.labelSelectors", "item": {"type": "string"}}, {"type": "boolean", "name": "snapshotVolumes", "arg": "$parameters.backupInstance.policyInfo.policyParameters.backupDatasourceParametersList[].KubernetesClusterBackupDatasourceParameters.snapshotVolumes", "required": true}]}]}}, {"type": "array", "name": "dataStoreParametersList", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList", "item": {"type": "object", "props": [{"type": "string", "name": "dataStoreType", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].dataStoreType", "required": true, "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "objectType", "required": true, "enum": {"items": [{"arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters", "value": "AzureOperationalStoreParameters"}]}}], "discriminators": [{"property": "objectType", "value": "AzureOperationalStoreParameters", "props": [{"type": "string", "name": "resourceGroupId", "arg": "$parameters.backupInstance.policyInfo.policyParameters.dataStoreParametersList[].AzureOperationalStoreParameters.resourceGroupId"}]}]}}]}]}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.backupInstance.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "string", "name": "validationType", "arg": "$parameters.backupInstance.validationType", "enum": {"items": [{"value": "DeepValidation"}, {"value": "ShallowValidation"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "jobId"}, {"const": true, "default": {"value": "OperationJobExtendedInfo"}, "type": "string", "name": "objectType", "required": true}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.xml new file mode 100644 index 000000000..60e3e03e2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30vdmFsaWRhdGVmb3JiYWNrdXA=/2026-03-01.xml @@ -0,0 +1,471 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+