diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/BackupInstanceResource.tsp b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/BackupInstanceResource.tsp index 1aab33407aae..ee0221b8e280 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/BackupInstanceResource.tsp +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/BackupInstanceResource.tsp @@ -188,8 +188,9 @@ interface BackupInstanceResources { * This operation will resume protection for a stopped backup instance */ @removed(Versions.v2026_04_01_preview) + @added(Versions.v2026_06_01) @renamedFrom(Versions.v2026_04_01_preview, "resumeProtection") - resumeProtectionLegacy is BackupInstanceResourceOps.ActionAsync< + resumeProtection is BackupInstanceResourceOps.ActionAsync< BackupInstanceResource, void, OkResponse, @@ -203,7 +204,9 @@ interface BackupInstanceResources { * This operation will resume protection for a stopped backup instance */ @added(Versions.v2026_04_01_preview) - resumeProtection is BackupInstanceResourceOps.ActionAsync< + @removed(Versions.v2026_06_01) + @renamedFrom(Versions.v2026_06_01, "resumeProtection") + resumeProtectionPreview is BackupInstanceResourceOps.ActionAsync< BackupInstanceResource, ResumeProtectionRequest, OkResponse, diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/back-compatible.tsp b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/back-compatible.tsp index 567c6d95fc5b..12e66f14e520 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/back-compatible.tsp +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/back-compatible.tsp @@ -116,10 +116,11 @@ using Microsoft.DataProtection; "!csharp" ); @@clientLocation( - BackupInstanceResources.resumeProtectionLegacy, + BackupInstanceResources.resumeProtectionPreview, BackupInstances, "!csharp" ); + @@clientLocation( BackupInstanceResources.stopProtection, BackupInstances, @@ -382,6 +383,10 @@ using Microsoft.DataProtection; BackupInstanceResources.resumeProtection::parameters.body, "parameters" ); +@@clientName( + BackupInstanceResources.resumeProtectionPreview::parameters.body, + "parameters" +); @@clientName( BackupInstanceResources.stopProtection::parameters.body, "parameters" diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/DeleteBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/DeleteBackupInstance.json new file mode 100644 index 000000000000..cb363c77272f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/DeleteBackupInstance.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "204": {} + }, + "operationId": "BackupInstances_Delete", + "title": "Delete BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/FindRestorableTimeRanges.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/FindRestorableTimeRanges.json new file mode 100644 index 000000000000..4cdad6ee5ec5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/FindRestorableTimeRanges.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "zblobbackuptestsa58", + "parameters": { + "endTime": "2021-02-24T00:35:17.6829685Z", + "sourceDataStoreType": "OperationalStore", + "startTime": "2020-10-17T23:28:17.6829685Z" + }, + "resourceGroupName": "Blob-Backup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "ZBlobBackupVaultBVTD3" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges", + "id": "zblobbackuptestsa58", + "properties": { + "objectType": "AzureBackupFindRestorableTimeRangesResponse", + "restorableTimeRanges": [ + { + "endTime": "2021-02-24T00:35:17.0000000Z", + "objectType": "RestorableTimeRange", + "startTime": "2021-02-23T18:33:51.6349708Z" + } + ] + } + } + } + }, + "operationId": "RestorableTimeRanges_Find", + "title": "Find Restorable Time Ranges" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance.json new file mode 100644 index 000000000000..64fbf6887b2d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstanceOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstanceOperationResult.json new file mode 100644 index 000000000000..77bcb5ddeec3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstanceOperationResult.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/backupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "testInstance1", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "ConfiguringProtection" + }, + "provisioningState": "Provisioned" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupvaults/swaggerExample/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupInstances_GetBackupInstanceOperationResult", + "title": "Get BackupInstanceOperationResult" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json new file mode 100644 index 000000000000..369627cee0bf --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsbackupinstance", + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "adlsbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance with ADLSBlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json new file mode 100644 index 000000000000..73f040205a4b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsbackupinstance", + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "adlsbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adls5blbcentraluseuap2", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adls5blbcentraluseuap2", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1", + "container2" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance for ADLS Blob" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json new file mode 100644 index 000000000000..66db2f423193 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "blobbackupinstance", + "resourceGroupName": "blobrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "blobvault" + }, + "responses": { + "200": { + "body": { + "name": "blobbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/blobbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance with BlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetRecoveryPoint.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetRecoveryPoint.json new file mode 100644 index 000000000000..7fe5f3711338 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/GetRecoveryPoint.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "recoveryPointId": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + } + }, + "operationId": "RecoveryPoints_Get", + "title": "Get Recovery Point" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstances.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstances.json new file mode 100644 index 000000000000..e76d92ba915e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstances.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + } + ] + } + } + }, + "operationId": "BackupInstances_List", + "title": "List BackupInstances in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json new file mode 100644 index 000000000000..534d1358a111 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceId": "subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDiskBI1-testDiskBI1-7664c12f-4d0a-440f-a0dc-b64f708b10e3", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk/providers/Microsoft.DataProtection/backupInstances/testDiskBI1-testDiskBI1-7664c12f-4d0a-440f-a0dc-b64f708b10e3", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Compute/disks", + "objectType": "Datasource", + "resourceID": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk", + "resourceLocation": "eastus2euap", + "resourceName": "testDisk", + "resourceType": "Microsoft.Compute/disks", + "resourceUri": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Compute/disks", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk", + "resourceLocation": "eastus2euap", + "resourceName": "testDisk", + "resourceType": "Microsoft.Compute/disks", + "resourceUri": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "friendlyName": "testDisk", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/policyRG/providers/Microsoft.DataProtection/backupVaults/jeczrsecy/backupPolicies/disk", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/policyRG" + } + ] + }, + "policyVersion": "" + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "BackupInstancesExtensionRouting_List", + "title": "List BackupInstances associated with an azure resource" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListRecoveryPoints.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListRecoveryPoints.json new file mode 100644 index 000000000000..60378904aa75 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ListRecoveryPoints.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "expiryTime": "2023-03-01T13:00:00Z", + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + }, + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + ] + } + } + }, + "operationId": "RecoveryPoints_List", + "title": "List Recovery Points in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance.json new file mode 100644 index 000000000000..c39c98b7ad04 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + } + }, + "validationType": "ShallowValidation" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json new file mode 100644 index 000000000000..9535a8adeb34 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsstorageaccount-adlsstorageaccount-3a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + } + } + }, + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "3a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/3a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "3a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/3a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsstorageaccount-adlsstorageaccount-3a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With ADLSBlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json new file mode 100644 index 000000000000..8bc311d618ff --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsstorageaccount-adlsstorageaccount-19a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + } + } + }, + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "19a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/19a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "19a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/19a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsstorageaccount-adlsstorageaccount-19a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With ADLSBlobBackupDatasourceParameters" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json new file mode 100644 index 000000000000..aee99a75dafe --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "blobstorageaccount-blobstorageaccount-2a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + } + } + }, + "resourceGroupName": "blobrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "blobvault" + }, + "responses": { + "200": { + "body": { + "name": "2a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/2a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "2a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/2a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/blobstorageaccount-blobstorageaccount-2a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With BlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json new file mode 100644 index 000000000000..cbe98a3718f3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json @@ -0,0 +1,212 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "aksbi", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + } + } + }, + "resourceGroupName": "aksrg", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "aksvault" + }, + "responses": { + "200": { + "body": { + "name": "aksbi", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceType": "Microsoft.ContainerService/managedclusters" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "aksbi", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceType": "Microsoft.ContainerService/managedclusters" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With KubernetesClusterBackupDatasourceParameters" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json new file mode 100644 index 000000000000..4ec8cc031454 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + } + }, + "resourceGuardOperationRequests": [ + "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default" + ], + "validationType": "ShallowValidation" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance to perform critical operation With MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeBackups.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeBackups.json new file mode 100644 index 000000000000..3309ded54122 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeBackups.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ResumeBackups", + "title": "ResumeBackups" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeProtection.json new file mode 100644 index 000000000000..5346dbd82c89 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ResumeProtection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ResumeProtection", + "title": "ResumeProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection.json new file mode 100644 index 000000000000..eb016c3f1afe --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_StopProtection", + "title": "StopProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json new file mode 100644 index 000000000000..ab08eb6b1019 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourceGroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppDisableStopProtectionRequests/default" + ] + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_StopProtection", + "title": "StopProtection with MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json new file mode 100644 index 000000000000..9ffaa9e61174 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourceGroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppDisableSuspendBackupsRequests/default" + ] + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SuspendBackups", + "title": "SuspendBackups with MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackups.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackups.json new file mode 100644 index 000000000000..a27f38e49a82 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SuspendBackups.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SuspendBackups", + "title": "SuspendBackups" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SyncBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SyncBackupInstance.json new file mode 100644 index 000000000000..b36213884d08 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/SyncBackupInstance.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "syncType": "Default" + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SyncBackupInstance", + "title": "Sync BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerBackup.json new file mode 100644 index 000000000000..df653b4f5af8 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerBackup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupRuleOptions": { + "ruleName": "BackupWeekly", + "triggerOption": { + "retentionTagOverride": "yearly" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_AdhocBackup", + "title": "Trigger Adhoc Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRehydrate.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRehydrate.json new file mode 100644 index 000000000000..c2e147314682 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRehydrate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "recoveryPointId": "hardcodedRP", + "rehydrationPriority": "High", + "rehydrationRetentionDuration": "7D" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "204": {} + }, + "operationId": "BackupInstances_TriggerRehydrate", + "title": "Trigger Rehydrate" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestore.json new file mode 100644 index 000000000000..7f22077eb404 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json new file mode 100644 index 000000000000..340b11204416 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "objectType": "RestoreFilesTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia", + "targetDetails": { + "filePrefix": "restoredblob", + "restoreTargetLocationType": "AzureBlobs", + "url": "https://teststorage.blob.core.windows.net/restoretest" + } + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/testInstance1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore As Files" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json new file mode 100644 index 000000000000..8113978460dc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "objectType": "AzureBackupRestoreWithRehydrationRequest", + "recoveryPointId": "hardcodedRP", + "rehydrationPriority": "High", + "rehydrationRetentionDuration": "7D", + "restoreTargetInfo": { + "datasourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore With Rehydration" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForBackup.json new file mode 100644 index 000000000000..33874fee5583 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForBackup.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupInstance": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForBackup", + "title": "Validate For Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForModifyBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForModifyBackup.json new file mode 100644 index 000000000000..53257adb8a2b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateForModifyBackup.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupInstance": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-08-01-preview", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-08-01-preview", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForModifyBackup", + "title": "Validate For Modify Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateRestore.json new file mode 100644 index 000000000000..3ad6a668084f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/BackupInstanceOperations/ValidateRestore.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "restoreRequestObject": { + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForRestore", + "title": "Validate Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CheckfeatureSupport.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CheckfeatureSupport.json new file mode 100644 index 000000000000..8b817a6cb2fa --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CheckfeatureSupport.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "WestUS", + "parameters": { + "featureType": "DataSourceType", + "objectType": "FeatureValidationRequest" + }, + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "featureType": "DataSourceType", + "features": [ + { + "exposureControlledFeatures": [], + "featureName": "Microsoft.Storage/storageAccounts/blobServices", + "supportStatus": "PrivatePreview" + }, + { + "exposureControlledFeatures": [], + "featureName": "Microsoft.DBforPostgreSQL/servers/databases", + "supportStatus": "PublicPreview" + } + ], + "objectType": "FeatureValidationResponse" + } + } + }, + "operationId": "DataProtection_CheckFeatureSupport", + "title": "Check Azure Vm Backup Feature Support" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJob.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJob.json new file mode 100644 index 000000000000..06c3b7d9ef29 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJob.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "west us", + "parameters": { + "jobId": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "sourceBackupVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11", + "sourceRegion": "east us" + }, + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "responses": { + "200": { + "body": { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "east us", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "extendedInfo": { + "additionalDetails": { + "PolicyRuleName": "BackupWeekly", + "RetentionTag": "Default", + "TaskId": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9" + }, + "subTasks": [ + { + "taskId": 1, + "taskName": "Trigger Backup", + "taskStatus": "Started" + } + ] + }, + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + } + } + }, + "operationId": "FetchCrossRegionRestoreJob_Get", + "title": "Get Cross Region Restore Job" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJobs.json new file mode 100644 index 000000000000..df7b4e2359d3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchCrossRegionRestoreJobs.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "east us", + "parameters": { + "sourceBackupVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11", + "sourceRegion": "east us" + }, + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "8989416e-7573-4836-8cf1-0e90954f1002", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/8989416e-7573-4836-8cf1-0e90954f1002", + "properties": { + "activityID": "932925c4-3d81-4550-8105-c7f7b0a934c5", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb4", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/3048870f-b1b7-44c4-b078-368da3fd000e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb4", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb4", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy2", + "policyName": "jakavetPolicy2", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T05:00:08.1746833Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "properties": { + "activityID": "b4f32e03-ded0-46fc-9afc-91853878efcd", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb5", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/943c60db-c033-4d93-bb00-66048474e00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb5", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb5", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy3", + "policyName": "jakavetPolicy3", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T18:00:03.6660733Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "43252662-1b43-44fd-a856-0055665cb097", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/43252662-1b43-44fd-a856-0055665cb097", + "properties": { + "activityID": "94052cf1-a47f-4c1b-93e7-79e07b2bd008-Tue Mar 17 2021 11:11:48 GMT+0530 (India Standard Time)-Ibz", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb3", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/0b247869-b8be-4885-b832-8ac4cdf5b00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb3", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb3", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:02:11.9724387", + "endTime": "2021-03-17T11:14:02.5319646Z", + "isUserTriggered": true, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy1", + "policyName": "jakavetPolicy1", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T11:11:50.5595259Z", + "status": "Succeeded", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [ + "" + ], + "vaultName": "BugBashVaultForCCYv11" + } + } + ] + } + } + }, + "operationId": "FetchCrossRegionRestoreJobs_List", + "title": "List Cross Region Restore Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchSecondaryRPs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchSecondaryRPs.json new file mode 100644 index 000000000000..995ef00f08fd --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/FetchSecondaryRPs.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "WestUS", + "parameters": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34", + "sourceRegion": "EastUS" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "expiryTime": "2023-03-01T13:00:00Z", + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + }, + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3", + "metaData": "123456" + } + ], + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + ] + } + } + }, + "operationId": "FetchSecondaryRecoveryPoints_List", + "title": "Fetch SecondaryRPs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/TriggerCrossRegionRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/TriggerCrossRegionRestore.json new file mode 100644 index 000000000000..078c599705c3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/TriggerCrossRegionRestore.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "location": "EastAsia", + "parameters": { + "crossRegionRestoreDetails": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/BackupInstances/harshitbi1", + "sourceRegion": "east asia" + }, + "restoreRequestObject": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerCrossRegionRestore", + "title": "Trigger Cross Region Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/ValidateCrossRegionRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/ValidateCrossRegionRestore.json new file mode 100644 index 000000000000..788acf9d0277 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/CrossRegionRestore/ValidateCrossRegionRestore.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "location": "EastAsia", + "parameters": { + "crossRegionRestoreDetails": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/BackupInstances/harshitbi1", + "sourceRegion": "east asia" + }, + "restoreRequestObject": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateCrossRegionRestore", + "title": "Validate Cross Region Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json new file mode 100644 index 000000000000..1cdc8ead02f4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/deletedBackupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/deletedBackupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "deletionInfo": { + "billingEndDate": "2022-05-06T00:00:36.6660445Z", + "deleteActivityID": "1e9ec790-d198-4efb-bbd7-e4669d5351a4", + "deletionTime": "2022-05-04T00:00:36.6660445Z", + "scheduledPurgeTime": "2022-05-20T00:00:36.6660445Z" + }, + "friendlyName": "testInstance1", + "objectType": "DeletedBackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + }, + "protectionStatus": { + "status": "SoftDeleted" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "DeletedBackupInstances_Get", + "title": "Get DeletedBackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json new file mode 100644 index 000000000000..02209365c01f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/deletedBackupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/deletedBackupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "deletionInfo": { + "billingEndDate": "2022-05-06T00:00:36.6660445Z", + "deleteActivityID": "1e9ec790-d198-4efb-bbd7-e4669d5351a4", + "deletionTime": "2022-05-04T00:00:36.6660445Z", + "scheduledPurgeTime": "2022-05-20T00:00:36.6660445Z" + }, + "friendlyName": "testInstance1", + "objectType": "DeletedBackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + }, + "protectionStatus": { + "status": "SoftDeleted" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DeletedBackupInstances_List", + "title": "List DeletedBackupInstances in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json new file mode 100644 index 000000000000..6295b8a4f764 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "DeletedBackupInstances_Undelete", + "title": "Undelete Deleted BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_Get.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_Get.json new file mode 100644 index 000000000000..e351cdd92c37 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_Get.json @@ -0,0 +1,63 @@ +{ + "title": "Get a deleted backup vault", + "operationId": "DeletedBackupVaults_Get", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus", + "deletedVaultName": "deleted-vault-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/westus/deletedBackupVaults/deleted-vault-01", + "name": "deleted-vault-01", + "type": "Microsoft.DataProtection/deletedBackupVaults", + "properties": { + "originalBackupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "originalBackupVaultName": "sample-vault", + "originalBackupVaultResourcePath": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "resourceDeletionInfo": { + "deletionTime": "2025-09-18T10:00:00.000Z", + "scheduledPurgeTime": "2025-10-18T10:00:00.000Z", + "deleteActivityId": "00000000-0000-0000-0000-000000000000" + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "securitySettings": { + "softDeleteSettings": { + "state": "On", + "retentionDurationInDays": 14.0 + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "isVaultProtectedByResourceGuard": false, + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Disabled" + } + }, + "secureScore": "Maximum", + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_ListByLocation.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_ListByLocation.json new file mode 100644 index 000000000000..bfd3d7d04ddc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/DeletedBackupVaults_ListByLocation.json @@ -0,0 +1,66 @@ +{ + "title": "List deleted backup vaults by location", + "operationId": "DeletedBackupVaults_ListByLocation", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/westus/deletedBackupVaults/deleted-vault-01", + "name": "deleted-vault-01", + "type": "Microsoft.DataProtection/deletedBackupVaults", + "properties": { + "originalBackupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "originalBackupVaultName": "sample-vault", + "originalBackupVaultResourcePath": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "resourceDeletionInfo": { + "deletionTime": "2025-09-18T10:00:00.000Z", + "scheduledPurgeTime": "2025-10-18T10:00:00.000Z", + "deleteActivityId": "00000000-0000-0000-0000-000000000000" + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "securitySettings": { + "softDeleteSettings": { + "state": "On", + "retentionDurationInDays": 14.0 + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "isVaultProtectedByResourceGuard": false, + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Disabled" + } + }, + "secureScore": "Maximum", + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + ] + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationResult.json new file mode 100644 index 000000000000..0bc0d20dff59 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationResult.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "location": "WestUS", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/providers/Microsoft.DataProtection/locations/westus/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-01-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-01-01", + "Retry-After": "60" + } + } + }, + "operationId": "OperationResult_Get", + "title": "Get OperationResult" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatus.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatus.json new file mode 100644 index 000000000000..1ebb1fe9ced5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatus.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "location": "WestUS", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/providers/Microsoft.DataProtection/locations/WestUS/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatus_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusRGContext.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusRGContext.json new file mode 100644 index 000000000000..86162168322b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusRGContext.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatusResourceGroupContext_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusVaultContext.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusVaultContext.json new file mode 100644 index 000000000000..3cf8c36fe0ed --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/GetOperationStatusVaultContext.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatusBackupVaultContext_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetExportJobsOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetExportJobsOperationResult.json new file mode 100644 index 000000000000..c4b06f93bdd2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetExportJobsOperationResult.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2026-06-01", + "resourceGroupName": "SwaggerTestRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vaultName": "NetSDKTestRsVault" + }, + "responses": { + "200": { + "body": { + "blobSasKey": "someKey", + "blobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreport00000000-0000-0000-0000-000000000000", + "excelFileBlobSasKey": "someKey", + "excelFileBlobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreport00000000-0000-0000-0000-000000000000_ExcelFile.xlsx" + }, + "headers": {} + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.DataProtection/backupVaults/NetSDKTestRsVault/backupJobs/operations/00000000-0000-0000-0000-000000000000?api-version=2026-06-01", + "Retry-After": 60 + } + } + }, + "operationId": "ExportJobsOperationResult_Get", + "title": "Get Export Jobs Operation Result" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetJob.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetJob.json new file mode 100644 index 000000000000..49fcc457516f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/GetJob.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "jobId": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "BugBashVaultForCCYv11" + }, + "responses": { + "200": { + "body": { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "extendedInfo": { + "additionalDetails": { + "PolicyRuleName": "BackupWeekly", + "RetentionTag": "Default", + "TaskId": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9" + }, + "subTasks": [ + { + "taskId": 1, + "taskName": "Trigger Backup", + "taskStatus": "Started" + } + ] + }, + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + } + } + }, + "operationId": "Jobs_Get", + "title": "Get Job" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/ListJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/ListJobs.json new file mode 100644 index 000000000000..7a48018203e3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/ListJobs.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "BugBashVaultForCCYv11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "8989416e-7573-4836-8cf1-0e90954f1002", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/8989416e-7573-4836-8cf1-0e90954f1002", + "properties": { + "activityID": "932925c4-3d81-4550-8105-c7f7b0a934c5", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb4", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/3048870f-b1b7-44c4-b078-368da3fd000e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb4", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb4", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy2", + "policyName": "jakavetPolicy2", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T05:00:08.1746833Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "properties": { + "activityID": "b4f32e03-ded0-46fc-9afc-91853878efcd", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb5", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/943c60db-c033-4d93-bb00-66048474e00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb5", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb5", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy3", + "policyName": "jakavetPolicy3", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T18:00:03.6660733Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "43252662-1b43-44fd-a856-0055665cb097", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/43252662-1b43-44fd-a856-0055665cb097", + "properties": { + "activityID": "94052cf1-a47f-4c1b-93e7-79e07b2bd008-Tue Mar 17 2021 11:11:48 GMT+0530 (India Standard Time)-Ibz", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb3", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/0b247869-b8be-4885-b832-8ac4cdf5b00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb3", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb3", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:02:11.9724387", + "endTime": "2021-03-17T11:14:02.5319646Z", + "isUserTriggered": true, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy1", + "policyName": "jakavetPolicy1", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T11:11:50.5595259Z", + "status": "Succeeded", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [ + "" + ], + "vaultName": "BugBashVaultForCCYv11" + } + } + ] + } + } + }, + "operationId": "Jobs_List", + "title": "Get Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/TriggerExportJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/TriggerExportJobs.json new file mode 100644 index 000000000000..95d43e041de0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/JobCRUD/TriggerExportJobs.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SwaggerTestRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vaultName": "NetSDKTestRsVault" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.DataProtection/backupVaults/NetSDKTestRsVault/backupJobs/operations/00000000-0000-0000-0000-000000000000?api-version=2026-06-01", + "Retry-After": 60 + } + }, + "204": {} + }, + "operationId": "ExportJobs_Trigger", + "title": "Trigger Export Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/Operations/List.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/Operations/List.json new file mode 100644 index 000000000000..8fe33265699a --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/Operations/List.json @@ -0,0 +1,535 @@ +{ + "parameters": { + "api-version": "2026-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DataProtection/locations/getBackupStatus/action", + "display": { + "description": "Check Backup Status for Recovery Services Vaults", + "operation": "Check Backup Status for Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/write", + "display": { + "description": "Creates a Backup Instance", + "operation": "Create a Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/delete", + "display": { + "description": "Deletes the Backup Instance", + "operation": "Delete Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/read", + "display": { + "description": "Returns details of the Backup Instance", + "operation": "Get Backup Instance Details", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/read", + "display": { + "description": "Returns all Backup Instances", + "operation": "Get Backup Instances", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/backup/action", + "display": { + "description": "Performs Backup on the Backup Instance", + "operation": "Backup Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/sync/action", + "display": { + "description": "Sync operation retries last failed operation on backup instance to bring it to a valid state.", + "operation": "Sync Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/operationResults/read", + "display": { + "description": "Returns Backup Operation Result for Backup Vault.", + "operation": "Get Backup Operation Result", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action", + "display": { + "description": "Stop Protection operation stops both backup and retention schedules of backup instance. Existing data will be retained forever.", + "operation": "Stop Protection of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action", + "display": { + "description": "Suspend Backups operation stops only backups of backup instance. Retention activities will continue and hence data will be ratained as per policy.", + "operation": "Suspend Backups of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/resumeProtection/action", + "display": { + "description": "Resume protection of a ProtectionStopped BI.", + "operation": "Resume Protection of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/resumeBackups/action", + "display": { + "description": "Resume Backups for a BackupsSuspended BI.", + "operation": "Resume Backups of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/validateRestore/action", + "display": { + "description": "Validates for Restore of the Backup Instance", + "operation": "Validate for Restore of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/restore/action", + "display": { + "description": "Triggers restore on the Backup Instance", + "operation": "Restore Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/write", + "display": { + "description": "Creates Backup Policy", + "operation": "Create Backup Policy", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/delete", + "display": { + "description": "Deletes the Backup Policy", + "operation": "Delete Backup Policy", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/read", + "display": { + "description": "Returns details of the Backup Policy", + "operation": "Get Backup Policy details", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/read", + "display": { + "description": "Returns all Backup Policies", + "operation": "Get Backup Policies", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read", + "display": { + "description": "Get the list of ResourceGuard proxies for a resource", + "operation": "Get the list of ResourceGuard proxies for a resource", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read", + "display": { + "description": "Get ResourceGuard proxy operation gets an object representing the Azure resource of type 'ResourceGuard proxy'", + "operation": "Get ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/write", + "display": { + "description": "Create ResourceGuard proxy operation creates an Azure resource of type 'ResourceGuard Proxy'", + "operation": "Create ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete", + "display": { + "description": "The Delete ResourceGuard proxy operation deletes the specified Azure resource of type 'ResourceGuard proxy'", + "operation": "Delete ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/unlockDelete/action", + "display": { + "description": "Unlock delete ResourceGuard proxy operation unlocks the next delete critical operation", + "operation": "Unlock delete ResourceGuard proxy operation unlocks the next delete critical operation", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read", + "display": { + "description": "Returns details of the Recovery Point", + "operation": "Get Recovery Point Details", + "provider": "Microsoft.DataProtection", + "resource": "Recovery Points" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read", + "display": { + "description": "Returns all Recovery Points", + "operation": "Get Recovery Points", + "provider": "Microsoft.DataProtection", + "resource": "Recovery Points" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges/action", + "display": { + "description": "Finds Restorable Time Ranges", + "operation": "Find Restorable Time Ranges", + "provider": "Microsoft.DataProtection", + "resource": "Restorable Time Ranges" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/write", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/delete", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/operationResults/read", + "display": { + "description": "Gets Operation Result of a Patch Operation for a Backup Vault", + "operation": "Get Operation Result of a Patch Operation for a Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/checkNameAvailability/action", + "display": { + "description": "Checks if the requested BackupVault Name is Available", + "operation": "Check if the requested BackupVault Name is Available", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Gets list of Backup Vaults in a Resource Group", + "operation": "Get Backup Vaults in a Resource Group", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Gets list of Backup Vaults in a Subscription", + "operation": "Get Backup Vaults in a Subscription", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write", + "display": { + "description": "Create ResourceGuard operation creates an Azure resource of type 'ResourceGuard'", + "operation": "Create ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read", + "display": { + "description": "The Get ResourceGuard operation gets an object representing the Azure resource of type 'ResourceGuard'", + "operation": "Get ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/delete", + "display": { + "description": "The Delete ResourceGuard operation deletes the specified Azure resource of type 'ResourceGuard'", + "operation": "Delete ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read", + "display": { + "description": "Gets list of ResourceGuards in a Resource Group", + "operation": "Get ResourceGuards in a Resource Group", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/providers/resourceGuards/read", + "display": { + "description": "Gets list of ResourceGuards in a Subscription", + "operation": "Get ResourceGuards in a Subscription", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write", + "display": { + "description": "Update ResouceGuard operation updates an Azure resource of type 'ResourceGuard'", + "operation": "Update ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read", + "display": { + "description": "Gets ResourceGuard operation request info", + "operation": "Get ResourceGuard operation request info", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read", + "display": { + "description": "Gets ResourceGuard default operation request info", + "operation": "Get ResourceGuard default operation request info", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/providers/locations/checkFeatureSupport/action", + "display": { + "description": "Validates if a feature is supported", + "operation": "Validate if a feature is supported", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/operationResults/read", + "display": { + "description": "Returns Backup Operation Result for Backup Vault.", + "operation": "Get Backup Operation Result", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Results" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/validateForBackup/action", + "display": { + "description": "Validates for backup of Backup Instance", + "operation": "Validate for backup of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Validate Backup" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupJobs/read", + "display": { + "description": "Get Jobs list", + "operation": "Backup Jobs", + "provider": "Microsoft.DataProtection", + "resource": "Backup Jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.RecoveryServices/Vaults/backupJobs/read", + "display": { + "description": "Get Job details", + "operation": "Backup Job Object", + "provider": "Microsoft.DataProtection", + "resource": "Backup Jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/register/action", + "display": { + "description": "Registers subscription for given Resource Provider", + "operation": "Register Resource Provider", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/unregister/action", + "display": { + "description": "Unregisters subscription for given Resource Provider", + "operation": "Unregister Resource Provider", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/operations/read", + "display": { + "description": "Operation returns the list of Operations for a Resource Provider", + "operation": "List of Operations", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + } + ] + } + } + }, + "operationId": "DataProtectionOperations_List", + "title": "Returns the list of supported REST operations." +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/CreateOrUpdateBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/CreateOrUpdateBackupPolicy.json new file mode 100644 index 000000000000..76e174b232e2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/CreateOrUpdateBackupPolicy.json @@ -0,0 +1,202 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "parameters": { + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + } + }, + "operationId": "BackupPolicies_CreateOrUpdate", + "title": "CreateOrUpdate BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/DeleteBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/DeleteBackupPolicy.json new file mode 100644 index 000000000000..fe83b29b4859 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/DeleteBackupPolicy.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "Delete BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/GetBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/GetBackupPolicy.json new file mode 100644 index 000000000000..3af8588bc10b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/GetBackupPolicy.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Get BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/ListBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/ListBackupPolicy.json new file mode 100644 index 000000000000..42ccf3838869 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PolicyCRUD/ListBackupPolicy.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "List BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PutBackupVaultWithUndelete.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PutBackupVaultWithUndelete.json new file mode 100644 index 000000000000..c9b8da5ae826 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/PutBackupVaultWithUndelete.json @@ -0,0 +1,143 @@ +{ + "title": "Restore a soft-deleted backup vault", + "operationId": "BackupVaults_CreateOrUpdate", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SampleResourceGroup", + "vaultName": "swaggerExample", + "x-ms-deleted-vault-id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/WestUS/deletedVaults/swaggerExample", + "parameters": { + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + } + }, + "tags": { + "key1": "val1" + } + } + }, + "responses": { + "200": { + "body": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults", + "properties": { + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "secureScore": "Maximum", + "isVaultProtectedByResourceGuard": false, + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + }, + "201": { + "body": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults", + "properties": { + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "secureScore": "Maximum", + "isVaultProtectedByResourceGuard": false, + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/DeleteResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/DeleteResourceGuard.json new file mode 100644 index 000000000000..c3575853d8a3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/DeleteResourceGuard.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ResourceGuards_Delete", + "title": "Delete ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json new file mode 100644 index 000000000000..1a843a3fd325 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/getBackupSecurityPINRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultBackupSecurityPINRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json new file mode 100644 index 000000000000..bc9f566ce9ed --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteProtectedItemRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDeleteProtectedItemRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json new file mode 100644 index 000000000000..6e171b6b3b8c --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteResourceGuardProxyRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDeleteResourceGuardProxyRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json new file mode 100644 index 000000000000..2785fd5315cc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/disableSoftDeleteRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDisableSoftDeleteRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json new file mode 100644 index 000000000000..b0f1e28a66d2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectedItemRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultUpdateProtectedItemRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json new file mode 100644 index 000000000000..9e862b2bc2c5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectionPolicyRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultUpdateProtectionPolicyRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuard.json new file mode 100644 index 000000000000..5d989d39e429 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuard.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "ResourceGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Get", + "title": "Get ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json new file mode 100644 index 000000000000..78768a0d63f4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + ] + } + } + }, + "operationId": "ResourceGuards_GetResourcesInResourceGroup", + "title": "Get ResourceGuards in ResourceGroup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInSubscription.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInSubscription.json new file mode 100644 index 000000000000..42a5818333bb --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/GetResourceGuardsInSubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + ] + } + } + }, + "operationId": "ResourceGuards_GetResourcesInSubscription", + "title": "Get ResourceGuards in Subscription" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListBackupSecurityPINRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListBackupSecurityPINRequests.json new file mode 100644 index 000000000000..b473031fcf45 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListBackupSecurityPINRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/getBackupSecurityPINRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetBackupSecurityPINRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json new file mode 100644 index 000000000000..52bc86496676 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteProtectedItemRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDeleteProtectedItemRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json new file mode 100644 index 000000000000..bad682fb06ba --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteResourceGuardProxyRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDeleteResourceGuardProxyRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json new file mode 100644 index 000000000000..1f03f837e567 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/disableSoftDeleteRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDisableSoftDeleteRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json new file mode 100644 index 000000000000..ad4f533c24f3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectedItemRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetUpdateProtectedItemRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json new file mode 100644 index 000000000000..a63aa32b2f59 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectionPolicyRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetUpdateProtectionPolicyRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PatchResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PatchResourceGuard.json new file mode 100644 index 000000000000..928ae7bdecf8 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PatchResourceGuard.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Patch", + "title": "Patch ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PutResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PutResourceGuard.json new file mode 100644 index 000000000000..4f470050691d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardCRUD/PutResourceGuard.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + }, + "201": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Put", + "title": "Create ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json new file mode 100644 index 000000000000..aa6bda05035a --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "DppResourceGuardProxy_Delete", + "title": "Delete ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/GetResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/GetResourceGuardProxy.json new file mode 100644 index 000000000000..29ff4cc98e95 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + } + }, + "operationId": "DppResourceGuardProxy_Get", + "title": "Get ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/ListResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/ListResourceGuardProxy.json new file mode 100644 index 000000000000..43c485ff4c3e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/ListResourceGuardProxy.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + ] + } + } + }, + "operationId": "DppResourceGuardProxy_List", + "title": "Get ResourceGuardProxies" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/PutResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/PutResourceGuardProxy.json new file mode 100644 index 000000000000..5068cb3db51d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/PutResourceGuardProxy.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "properties": { + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + } + }, + "operationId": "DppResourceGuardProxy_CreateOrUpdate", + "title": "Create ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json new file mode 100644 index 000000000000..d49e7ec5112e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default" + ], + "resourceToBeDeleted": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupInstances/TestBI9779f4de" + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "unlockDeleteExpiryTime": "2022-09-16T12:50:10.7039695Z" + } + } + }, + "operationId": "DppResourceGuardProxy_UnlockDelete", + "title": "UnlockDelete ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/CheckBackupVaultsNameAvailability.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/CheckBackupVaultsNameAvailability.json new file mode 100644 index 000000000000..ac9f6168abde --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/CheckBackupVaultsNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "westus", + "parameters": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults" + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "BackupVaults_CheckNameAvailability", + "title": "Check BackupVaults name availability" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/DeleteBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/DeleteBackupVault.json new file mode 100644 index 000000000000..d4361a5f4ca7 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/DeleteBackupVault.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "Delete BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVault.json new file mode 100644 index 000000000000..ccfacde04a87 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVault.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCMK.json new file mode 100644 index 000000000000..33e3db3cb4ac --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCMK.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "provisioningState": "Succeeded", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Disabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault With CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..764d12f46be0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithCostManagementSettings.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault with Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithMSI.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithMSI.json new file mode 100644 index 000000000000..88641bf2b37e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultWithMSI.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault With MSI" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInResourceGroup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInResourceGroup.json new file mode 100644 index 000000000000..968136d26d28 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInResourceGroup.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ExampleVault1", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault1", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + { + "name": "ExampleVault2", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault2", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_GetInResourceGroup", + "title": "Get BackupVaults in ResourceGroup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInSubscription.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInSubscription.json new file mode 100644 index 000000000000..ab7a74066292 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetBackupVaultsInSubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ExampleVault1", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup2/providers/Microsoft.DataProtection/BackupVaults/ExampleVault1", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + { + "name": "ExampleVault2", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault2", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_GetInSubscription", + "title": "Get BackupVaults in Subscription" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetOperationResultPatch.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetOperationResultPatch.json new file mode 100644 index 000000000000..a185292c5228 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/GetOperationResultPatch.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupVaultOperationResults_Get", + "title": "GetOperationResult Patch" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVault.json new file mode 100644 index 000000000000..9e651863b641 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVault.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCMK.json new file mode 100644 index 000000000000..a07f572099c4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCMK.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityType": "SystemAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 90, + "state": "On" + } + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityType": "SystemAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + } + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 90, + "state": "On" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault with CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..a623bf399139 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault with Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVault.json new file mode 100644 index 000000000000..dfc7c64c7e66 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVault.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json new file mode 100644 index 000000000000..7b59e69dcbe0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "resourceGroupName": "SampleResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "identity": { + "type": "None" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "state": "Off", + "retentionDurationInDays": 0 + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "encryptionSettings": { + "state": "Enabled", + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "kekIdentity": { + "identityType": "UserAssigned", + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi" + }, + "infrastructureEncryption": "Enabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "state": "Off", + "retentionDurationInDays": 0 + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "encryptionSettings": { + "state": "Enabled", + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "kekIdentity": { + "identityType": "UserAssigned", + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi" + }, + "infrastructureEncryption": "Enabled" + } + }, + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourcegroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppModifyEncryptionSettingsRequests/default" + ], + "provisioningState": "Provisioning", + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + }, + "headers": { + "Retry-After": "10", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01" + } + }, + "200": { + "body": { + "identity": { + "type": "None" + }, + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create or Update Backup Vault With CMK and Resource Guard Enabled" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCMK.json new file mode 100644 index 000000000000..a135a18b476d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCMK.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..6ba104ee4476 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithCostManagementSettings.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithMSI.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithMSI.json new file mode 100644 index 000000000000..e8b711f1f706 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/examples/2026-06-01/VaultCRUD/PutBackupVaultWithMSI.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With MSI" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/main.tsp b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/main.tsp index 14d4ff6e8877..486d52ff1bfc 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/main.tsp +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/main.tsp @@ -63,6 +63,11 @@ enum Versions { * The 2026-04-01-preview API version. */ v2026_04_01_preview: "2026-04-01-preview", + + /** + * The 2026-06-01 API version. + */ + v2026_06_01: "2026-06-01", } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/models.tsp b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/models.tsp index 3bb4b4685893..0aa42fd7a393 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/models.tsp +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/models.tsp @@ -19,6 +19,17 @@ union AlertsState { Disabled: "Disabled", } +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union GranularityLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VaultLevel: "VaultLevel", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ProtectedItemLevel: "ProtectedItemLevel", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ProtectedItemWithParentTag: "ProtectedItemWithParentTag", +} + /** * Provisioning state of the BackupVault resource */ @@ -410,6 +421,7 @@ union AKSVolumeTypes { * Backup solution types for PostgreSQL Flexible Server. */ @added(Versions.v2026_04_01_preview) +@removed(Versions.v2026_06_01) union BackupSolutionType { string, @@ -596,6 +608,12 @@ model BackupVault { */ monitoringSettings?: MonitoringSettings; + /** + * Cost Management Settings of the vault + */ + @added(Versions.v2026_06_01) + costManagementSettings?: CostManagementSettings; + /** * Provisioning state of the BackupVault resource */ @@ -678,6 +696,17 @@ model AzureMonitorAlertSettings { alertsForAllJobFailures?: AlertsState; } +/** + * Cost Management Settings of the vault + */ +@added(Versions.v2026_06_01) +model CostManagementSettings { + /** + * Settings for granularity level + */ + granularityLevel?: GranularityLevel; +} + /** * ResourceMoveDetails will be returned in response to GetResource call from ARM */ @@ -1152,6 +1181,12 @@ model PatchBackupVaultInput { */ featureSettings?: FeatureSettings; + /** + * Cost Management Settings of the vault + */ + @added(Versions.v2026_06_01) + costManagementSettings?: CostManagementSettings; + /** * ResourceGuardOperationRequests on which LAC check will be performed */ @@ -2294,6 +2329,7 @@ model AzureBackupRehydrationRequest { * Type of Datasource object, used to initialize the right inherited type */ @added(Versions.v2026_04_01_preview) +@removed(Versions.v2026_06_01) union ResumeProtectionRequestObjectType { string, @@ -2306,6 +2342,7 @@ union ResumeProtectionRequestObjectType { */ @discriminator("objectType") @added(Versions.v2026_04_01_preview) +@removed(Versions.v2026_06_01) model ResumeProtectionRequest { /** * Type of Datasource object, used to initialize the right inherited type @@ -3242,6 +3279,7 @@ model AdlsBlobBackupDatasourceParametersForAutoProtection * Parameters to be used during configuration of backup of PostgreSQL Flexible Servers */ @added(Versions.v2026_04_01_preview) +@removed(Versions.v2026_06_01) model PostgreSqlFlexibleServerBackupDatasourceParameters extends BackupDatasourceParameters { /** diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/readme.md b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/readme.md index 2483782b3561..0d6dfe6c03ac 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/readme.md +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/readme.md @@ -28,7 +28,7 @@ These are the global settings for the DataProtection API. title: Data Protection Client description: Open API 2.0 Specs for Azure Data Protection service openapi-type: arm -tag: package-2026-03-01 +tag: package-2026-06-01 csharp-sdks-folder: ./Generated/CSharp python-sdks-folder: ./Generated/Python go-sdk-folder: ./Generated/Golang @@ -49,6 +49,15 @@ semantic-validator: true message-format: json ``` +### Tag: package-2026-06-01 + +These settings apply only when `--tag=package-2026-06-01` is specified on the command line. + +```yaml $(tag) == 'package-2026-06-01' +input-file: + - stable/2026-06-01/dataprotection.json +``` + ### Tag: package-2026-04-01-preview These settings apply only when `--tag=package-2026-04-01-preview` is specified on the command line. diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/dataprotection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/dataprotection.json new file mode 100644 index 000000000000..67adbc0d4f0c --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/dataprotection.json @@ -0,0 +1,9439 @@ +{ + "swagger": "2.0", + "info": { + "title": "Data Protection Client", + "version": "2026-06-01", + "description": "Open API 2.0 Specs for Azure Data Protection service", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "BackupInstances" + }, + { + "name": "BackupVaultResources" + }, + { + "name": "BackupVaultOperationResults" + }, + { + "name": "DeletedBackupVaults" + }, + { + "name": "BaseBackupPolicyResources" + }, + { + "name": "BackupInstanceResources" + }, + { + "name": "AzureBackupRecoveryPointResources" + }, + { + "name": "AzureBackupJobResources" + }, + { + "name": "DeletedBackupInstanceResources" + }, + { + "name": "ResourceGuards" + }, + { + "name": "ResourceGuardResources" + }, + { + "name": "DppBaseResourceOperationGroup" + }, + { + "name": "ResourceGuardProxyBaseResources" + } + ], + "paths": { + "/{resourceId}/providers/Microsoft.DataProtection/backupInstances": { + "get": { + "operationId": "BackupInstancesExtensionRouting_List", + "description": "Gets a list of backup instances associated with a tracked resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "resourceId", + "in": "path", + "description": "ARM path of the resource to be protected using Microsoft.DataProtection", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupInstanceResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List BackupInstances associated with an azure resource": { + "$ref": "./examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.DataProtection/operations": { + "get": { + "operationId": "DataProtectionOperations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Returns the list of supported REST operations.": { + "$ref": "./examples/Operations/List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults": { + "get": { + "operationId": "BackupVaults_GetInSubscription", + "tags": [ + "BackupVaultResources" + ], + "description": "Returns resource collection belonging to a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupVaults in Subscription": { + "$ref": "./examples/VaultCRUD/GetBackupVaultsInSubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport": { + "post": { + "operationId": "DataProtection_CheckFeatureSupport", + "summary": "Validates if a feature is supported", + "description": "Validates if a feature is supported", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/FeatureValidationRequestBase" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/FeatureValidationResponseBase" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Check Azure Vm Backup Feature Support": { + "$ref": "./examples/CheckfeatureSupport.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/deletedVaults": { + "get": { + "operationId": "DeletedBackupVaults_ListByLocation", + "tags": [ + "DeletedBackupVaults" + ], + "description": "Lists deleted backup vaults by location", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedBackupVaultResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List deleted backup vaults by location": { + "$ref": "./examples/DeletedBackupVaults_ListByLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/deletedVaults/{deletedVaultName}": { + "get": { + "operationId": "DeletedBackupVaults_Get", + "tags": [ + "DeletedBackupVaults" + ], + "description": "Gets a deleted backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "deletedVaultName", + "in": "path", + "description": "The name of the DeletedBackupVaultResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedBackupVaultResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a deleted backup vault": { + "$ref": "./examples/DeletedBackupVaults_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationResults/{operationId}": { + "get": { + "operationId": "OperationResult_Get", + "summary": "Gets the operation status for a resource.", + "description": "Gets the operation result for a resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get OperationResult": { + "$ref": "./examples/GetOperationResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}": { + "get": { + "operationId": "OperationStatus_Get", + "summary": "Gets the operation status for a resource.", + "description": "Gets the operation status for a resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get OperationStatus": { + "$ref": "./examples/GetOperationStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards": { + "get": { + "operationId": "ResourceGuards_GetResourcesInSubscription", + "tags": [ + "ResourceGuardResources" + ], + "description": "Returns ResourceGuards collection belonging to a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get ResourceGuards in Subscription": { + "$ref": "./examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults": { + "get": { + "operationId": "BackupVaults_GetInResourceGroup", + "tags": [ + "BackupVaultOperationResults" + ], + "description": "Returns resource collection belonging to a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupVaults in ResourceGroup": { + "$ref": "./examples/VaultCRUD/GetBackupVaultsInResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}": { + "get": { + "operationId": "BackupVaults_Get", + "tags": [ + "BackupVaultResources" + ], + "description": "Returns a resource belonging to a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupVault": { + "$ref": "./examples/VaultCRUD/GetBackupVault.json" + }, + "Get BackupVault With CMK": { + "$ref": "./examples/VaultCRUD/GetBackupVaultWithCMK.json" + }, + "Get BackupVault With MSI": { + "$ref": "./examples/VaultCRUD/GetBackupVaultWithMSI.json" + }, + "Get BackupVault with Cost Management Settings": { + "$ref": "./examples/VaultCRUD/GetBackupVaultWithCostManagementSettings.json" + } + } + }, + "put": { + "operationId": "BackupVaults_CreateOrUpdate", + "tags": [ + "BackupVaultResources" + ], + "description": "Creates or updates a BackupVault resource belonging to a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "x-ms-deleted-vault-id", + "in": "header", + "description": "The ID of the deleted backup vault to restore from during undelete flow.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/BackupVaultResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupVaultResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVaultResource" + } + }, + "201": { + "description": "Resource 'BackupVaultResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVaultResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create BackupVault": { + "$ref": "./examples/VaultCRUD/PutBackupVault.json" + }, + "Create BackupVault With CMK": { + "$ref": "./examples/VaultCRUD/PutBackupVaultWithCMK.json" + }, + "Create BackupVault With Cost Management Settings": { + "$ref": "./examples/VaultCRUD/PutBackupVaultWithCostManagementSettings.json" + }, + "Create BackupVault With MSI": { + "$ref": "./examples/VaultCRUD/PutBackupVaultWithMSI.json" + }, + "Create or Update Backup Vault With CMK and Resource Guard Enabled": { + "$ref": "./examples/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json" + }, + "Restore a soft-deleted backup vault": { + "$ref": "./examples/PutBackupVaultWithUndelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackupVaultResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BackupVaults_Update", + "tags": [ + "BackupVaultResources" + ], + "description": "Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/PatchResourceRequestInput" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Patch BackupVault": { + "$ref": "./examples/VaultCRUD/PatchBackupVault.json" + }, + "Patch BackupVault with CMK": { + "$ref": "./examples/VaultCRUD/PatchBackupVaultWithCMK.json" + }, + "Patch BackupVault with Cost Management Settings": { + "$ref": "./examples/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackupVaultResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupVaults_Delete", + "tags": [ + "BackupVaultResources" + ], + "description": "Deletes a BackupVault resource from the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete BackupVault": { + "$ref": "./examples/VaultCRUD/DeleteBackupVault.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances": { + "get": { + "operationId": "BackupInstances_List", + "tags": [ + "BackupInstances" + ], + "description": "Gets a backup instances belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupInstanceResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List BackupInstances in a Vault": { + "$ref": "./examples/BackupInstanceOperations/ListBackupInstances.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}": { + "get": { + "operationId": "BackupInstances_Get", + "tags": [ + "BackupInstanceResources" + ], + "description": "Gets a backup instance with name in a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupInstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupInstance": { + "$ref": "./examples/BackupInstanceOperations/GetBackupInstance.json" + }, + "Get BackupInstance for ADLS Blob": { + "$ref": "./examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json" + }, + "Get BackupInstance with ADLSBlobBackupAutoProtection": { + "$ref": "./examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json" + }, + "Get BackupInstance with BlobBackupAutoProtection": { + "$ref": "./examples/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json" + } + } + }, + "put": { + "operationId": "BackupInstances_CreateOrUpdate", + "tags": [ + "BackupInstanceResources" + ], + "description": "Create or update a backup instance in a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/BackupInstanceResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupInstanceResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupInstanceResource" + } + }, + "201": { + "description": "Resource 'BackupInstanceResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupInstanceResource" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create BackupInstance": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance.json" + }, + "Create BackupInstance With ADLSBlobBackupAutoProtection": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json" + }, + "Create BackupInstance With ADLSBlobBackupDatasourceParameters": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json" + }, + "Create BackupInstance With BlobBackupAutoProtection": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json" + }, + "Create BackupInstance With KubernetesClusterBackupDatasourceParameters": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json" + }, + "Create BackupInstance to perform critical operation With MUA": { + "$ref": "./examples/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackupInstanceResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupInstances_Delete", + "tags": [ + "BackupInstanceResources" + ], + "description": "Delete a backup instance in a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete BackupInstance": { + "$ref": "./examples/BackupInstanceOperations/DeleteBackupInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup": { + "post": { + "operationId": "BackupInstances_AdhocBackup", + "tags": [ + "BackupInstanceResources" + ], + "description": "Trigger adhoc backup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerBackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Trigger Adhoc Backup": { + "$ref": "./examples/BackupInstanceOperations/TriggerBackup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges": { + "post": { + "operationId": "RestorableTimeRanges_Find", + "tags": [ + "BackupInstanceResources" + ], + "description": "", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/AzureBackupFindRestorableTimeRangesRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupFindRestorableTimeRangesResponseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Find Restorable Time Ranges": { + "$ref": "./examples/BackupInstanceOperations/FindRestorableTimeRanges.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/operationResults/{operationId}": { + "get": { + "operationId": "BackupInstances_GetBackupInstanceOperationResult", + "tags": [ + "BackupInstances" + ], + "description": "Get result of backup instance creation operation", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupInstanceResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupInstanceOperationResult": { + "$ref": "./examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints": { + "get": { + "operationId": "RecoveryPoints_List", + "tags": [ + "AzureBackupRecoveryPointResources" + ], + "description": "Returns a list of Recovery Points for a DataSource in a vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the backup instance.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken Filter.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupRecoveryPointResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Recovery Points in a Vault": { + "$ref": "./examples/BackupInstanceOperations/ListRecoveryPoints.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}": { + "get": { + "operationId": "RecoveryPoints_Get", + "tags": [ + "AzureBackupRecoveryPointResources" + ], + "description": "Gets a Recovery Point using recoveryPointId for a Datasource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the backup instance.", + "required": true, + "type": "string" + }, + { + "name": "recoveryPointId", + "in": "path", + "description": "", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupRecoveryPointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Recovery Point": { + "$ref": "./examples/BackupInstanceOperations/GetRecoveryPoint.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/rehydrate": { + "post": { + "operationId": "BackupInstances_TriggerRehydrate", + "tags": [ + "BackupInstanceResources" + ], + "description": "rehydrate recovery point for restore for a BackupInstance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/AzureBackupRehydrationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Trigger Rehydrate": { + "$ref": "./examples/BackupInstanceOperations/TriggerRehydrate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore": { + "post": { + "operationId": "BackupInstances_TriggerRestore", + "tags": [ + "BackupInstanceResources" + ], + "description": "Triggers restore for a BackupInstance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/AzureBackupRestoreRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Trigger Restore": { + "$ref": "./examples/BackupInstanceOperations/TriggerRestore.json" + }, + "Trigger Restore As Files": { + "$ref": "./examples/BackupInstanceOperations/TriggerRestoreAsFiles.json" + }, + "Trigger Restore With Rehydration": { + "$ref": "./examples/BackupInstanceOperations/TriggerRestoreWithRehydration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeBackups": { + "post": { + "operationId": "BackupInstances_ResumeBackups", + "tags": [ + "BackupInstanceResources" + ], + "description": "This operation will resume backups for backup instance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ResumeBackups": { + "$ref": "./examples/BackupInstanceOperations/ResumeBackups.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection": { + "post": { + "operationId": "BackupInstances_ResumeProtection", + "tags": [ + "BackupInstanceResources" + ], + "description": "This operation will resume protection for a stopped backup instance", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ResumeProtection": { + "$ref": "./examples/BackupInstanceOperations/ResumeProtection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection": { + "post": { + "operationId": "BackupInstances_StopProtection", + "tags": [ + "BackupInstanceResources" + ], + "description": "This operation will stop protection of a backup instance and data will be held forever", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/StopProtectionRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StopProtection": { + "$ref": "./examples/BackupInstanceOperations/StopProtection.json" + }, + "StopProtection with MUA": { + "$ref": "./examples/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups": { + "post": { + "operationId": "BackupInstances_SuspendBackups", + "tags": [ + "BackupInstanceResources" + ], + "description": "This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever)", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/SuspendBackupRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "SuspendBackups": { + "$ref": "./examples/BackupInstanceOperations/SuspendBackups.json" + }, + "SuspendBackups with MUA": { + "$ref": "./examples/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/sync": { + "post": { + "operationId": "BackupInstances_SyncBackupInstance", + "tags": [ + "BackupInstanceResources" + ], + "description": "Sync backup instance again in case of failure\nThis action will retry last failed operation and will bring backup instance to valid state", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/SyncBackupInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Sync BackupInstance": { + "$ref": "./examples/BackupInstanceOperations/SyncBackupInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateForModifyBackup": { + "post": { + "operationId": "BackupInstances_ValidateForModifyBackup", + "tags": [ + "BackupInstanceResources" + ], + "description": "Validate whether update for backup instance will be successful or not", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateForModifyBackupRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate For Modify Backup": { + "$ref": "./examples/BackupInstanceOperations/ValidateForModifyBackup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore": { + "post": { + "operationId": "BackupInstances_ValidateForRestore", + "tags": [ + "BackupInstanceResources" + ], + "description": "Validates if Restore can be triggered for a DataSource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 50, + "pattern": "^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the BackupInstanceResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateRestoreRequestObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Validate Restore": { + "$ref": "./examples/BackupInstanceOperations/ValidateRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs": { + "get": { + "operationId": "Jobs_List", + "tags": [ + "AzureBackupJobResources" + ], + "description": "Returns list of jobs belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupJobResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Jobs": { + "$ref": "./examples/JobCRUD/ListJobs.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}": { + "get": { + "operationId": "Jobs_Get", + "tags": [ + "AzureBackupJobResources" + ], + "description": "Gets a job with id in a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "jobId", + "in": "path", + "description": "The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupJobResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Job": { + "$ref": "./examples/JobCRUD/GetJob.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/operations/{operationId}": { + "get": { + "operationId": "ExportJobsOperationResult_Get", + "tags": [ + "BackupVaultResources" + ], + "description": "Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "OperationID which represents the export job.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExportJobsResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Export Jobs Operation Result": { + "$ref": "./examples/JobCRUD/GetExportJobsOperationResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies": { + "get": { + "operationId": "BackupPolicies_List", + "tags": [ + "BaseBackupPolicyResources" + ], + "description": "Returns list of backup policies belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BaseBackupPolicyResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List BackupPolicy": { + "$ref": "./examples/PolicyCRUD/ListBackupPolicy.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}": { + "get": { + "operationId": "BackupPolicies_Get", + "tags": [ + "BaseBackupPolicyResources" + ], + "description": "Gets a backup policy belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BaseBackupPolicyResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get BackupPolicy": { + "$ref": "./examples/PolicyCRUD/GetBackupPolicy.json" + } + } + }, + "put": { + "operationId": "BackupPolicies_CreateOrUpdate", + "tags": [ + "BaseBackupPolicyResources" + ], + "description": "Creates or Updates a backup policy belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/BaseBackupPolicyResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BaseBackupPolicyResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/BaseBackupPolicyResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate BackupPolicy": { + "$ref": "./examples/PolicyCRUD/CreateOrUpdateBackupPolicy.json" + } + } + }, + "delete": { + "operationId": "BackupPolicies_Delete", + "tags": [ + "BaseBackupPolicyResources" + ], + "description": "Deletes a backup policy belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete BackupPolicy": { + "$ref": "./examples/PolicyCRUD/DeleteBackupPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies": { + "get": { + "operationId": "DppResourceGuardProxy_List", + "tags": [ + "ResourceGuardProxyBaseResources" + ], + "description": "Returns the list of ResourceGuardProxies associated with the vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardProxyBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get ResourceGuardProxies": { + "$ref": "./examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}": { + "get": { + "operationId": "DppResourceGuardProxy_Get", + "tags": [ + "ResourceGuardProxyBaseResources" + ], + "description": "Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "resourceGuardProxyName", + "in": "path", + "description": "name of the resource guard proxy", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardProxyBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get ResourceGuardProxy": { + "$ref": "./examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json" + } + } + }, + "put": { + "operationId": "DppResourceGuardProxy_CreateOrUpdate", + "tags": [ + "ResourceGuardProxyBaseResources" + ], + "description": "Creates or Updates a ResourceGuardProxy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "resourceGuardProxyName", + "in": "path", + "description": "name of the resource guard proxy", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGuardProxyBaseResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ResourceGuardProxyBaseResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ResourceGuardProxyBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create ResourceGuardProxy": { + "$ref": "./examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json" + } + } + }, + "delete": { + "operationId": "DppResourceGuardProxy_Delete", + "tags": [ + "ResourceGuardProxyBaseResources" + ], + "description": "Deletes the ResourceGuardProxy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "resourceGuardProxyName", + "in": "path", + "description": "name of the resource guard proxy", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete ResourceGuardProxy": { + "$ref": "./examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete": { + "post": { + "operationId": "DppResourceGuardProxy_UnlockDelete", + "tags": [ + "ResourceGuardProxyBaseResources" + ], + "description": "UnlockDelete call for ResourceGuardProxy, executed before one can delete it", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "resourceGuardProxyName", + "in": "path", + "description": "name of the resource guard proxy", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + }, + { + "name": "x-ms-authorization-auxiliary", + "in": "header", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/UnlockDeleteRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UnlockDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "UnlockDelete ResourceGuardProxy": { + "$ref": "./examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances": { + "get": { + "operationId": "DeletedBackupInstances_List", + "tags": [ + "DeletedBackupInstanceResources" + ], + "description": "Gets deleted backup instances belonging to a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedBackupInstanceResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List DeletedBackupInstances in a Vault": { + "$ref": "./examples/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}": { + "get": { + "operationId": "DeletedBackupInstances_Get", + "tags": [ + "DeletedBackupInstanceResources" + ], + "description": "Gets a deleted backup instance with name in a backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the deleted backup instance", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedBackupInstanceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DeletedBackupInstance": { + "$ref": "./examples/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete": { + "post": { + "operationId": "DeletedBackupInstances_Undelete", + "tags": [ + "DeletedBackupInstanceResources" + ], + "description": "A long-running resource action.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the backup vault.", + "required": true, + "type": "string" + }, + { + "name": "backupInstanceName", + "in": "path", + "description": "The name of the deleted backup instance", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Undelete Deleted BackupInstance": { + "$ref": "./examples/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/exportBackupJobs": { + "post": { + "operationId": "ExportJobs_Trigger", + "tags": [ + "BackupVaultResources" + ], + "description": "Triggers export of jobs and returns an OperationID to track.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Trigger Export Jobs": { + "$ref": "./examples/JobCRUD/TriggerExportJobs.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationResults/{operationId}": { + "get": { + "operationId": "BackupVaultOperationResults_Get", + "tags": [ + "BackupVaultOperationResults" + ], + "description": "Get a BackupVaultResource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetOperationResult Patch": { + "$ref": "./examples/VaultCRUD/GetOperationResultPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationStatus/{operationId}": { + "get": { + "operationId": "OperationStatusBackupVaultContext_Get", + "tags": [ + "BackupVaultResources" + ], + "description": "Gets the operation status for an operation over a BackupVault's context.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get OperationStatus": { + "$ref": "./examples/GetOperationStatusVaultContext.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup": { + "post": { + "operationId": "BackupInstances_ValidateForBackup", + "tags": [ + "BackupVaultResources" + ], + "description": "Validate whether adhoc backup will be successful or not", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "vaultName", + "in": "path", + "description": "The name of the BackupVaultResource", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateForBackupRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Validate For Backup": { + "$ref": "./examples/BackupInstanceOperations/ValidateForBackup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability": { + "post": { + "operationId": "BackupVaults_CheckNameAvailability", + "summary": "API to check for resource name availability", + "description": "API to check for resource name availability", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Check name availability request", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Check BackupVaults name availability": { + "$ref": "./examples/VaultCRUD/CheckBackupVaultsNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore": { + "post": { + "operationId": "BackupInstances_TriggerCrossRegionRestore", + "description": "Triggers Cross Region Restore for BackupInstance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for trigger CRR operation", + "required": true, + "schema": { + "$ref": "#/definitions/CrossRegionRestoreRequestObject" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Trigger Cross Region Restore": { + "$ref": "./examples/CrossRegionRestore/TriggerCrossRegionRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob": { + "post": { + "operationId": "FetchCrossRegionRestoreJob_Get", + "description": "Fetches the Cross Region Restore Job", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/CrossRegionRestoreJobRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupJobResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Cross Region Restore Job": { + "$ref": "./examples/CrossRegionRestore/FetchCrossRegionRestoreJob.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs": { + "post": { + "operationId": "FetchCrossRegionRestoreJobs_List", + "description": "Fetches list of Cross Region Restore job belonging to the vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/CrossRegionRestoreJobsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupJobResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Cross Region Restore Jobs": { + "$ref": "./examples/CrossRegionRestore/FetchCrossRegionRestoreJobs.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints": { + "post": { + "operationId": "FetchSecondaryRecoveryPoints_List", + "description": "Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken Filter.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/FetchSecondaryRPsRequestParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureBackupRecoveryPointResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Fetch SecondaryRPs": { + "$ref": "./examples/CrossRegionRestore/FetchSecondaryRPs.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore": { + "post": { + "operationId": "BackupInstances_ValidateCrossRegionRestore", + "description": "Validates whether Cross Region Restore can be triggered for DataSource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateCrossRegionRestoreRequestObject" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationJobExtendedInfo" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate Cross Region Restore": { + "$ref": "./examples/CrossRegionRestore/ValidateCrossRegionRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/OperationJobExtendedInfo" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/operationStatus/{operationId}": { + "get": { + "operationId": "OperationStatusResourceGroupContext_Get", + "summary": "Gets the operation status for an operation over a ResourceGroup's context.", + "description": "Gets the operation status for an operation over a ResourceGroup's context.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get OperationStatus": { + "$ref": "./examples/GetOperationStatusRGContext.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards": { + "get": { + "operationId": "ResourceGuards_GetResourcesInResourceGroup", + "tags": [ + "ResourceGuardResources" + ], + "description": "Returns ResourceGuards collection belonging to a ResourceGroup.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get ResourceGuards in ResourceGroup": { + "$ref": "./examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}": { + "get": { + "operationId": "ResourceGuards_Get", + "tags": [ + "ResourceGuardResources" + ], + "description": "Returns a ResourceGuard belonging to a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of ResourceGuard", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get ResourceGuard": { + "$ref": "./examples/ResourceGuardCRUD/GetResourceGuard.json" + } + } + }, + "put": { + "operationId": "ResourceGuards_Put", + "tags": [ + "ResourceGuardResources" + ], + "description": "Creates or updates a ResourceGuard resource belonging to a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of ResourceGuard", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceGuardResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ResourceGuardResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ResourceGuardResource" + } + }, + "201": { + "description": "Resource 'ResourceGuardResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ResourceGuardResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create ResourceGuard": { + "$ref": "./examples/ResourceGuardCRUD/PutResourceGuard.json" + } + } + }, + "patch": { + "operationId": "ResourceGuards_Patch", + "tags": [ + "ResourceGuardResources" + ], + "description": "Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of ResourceGuard", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Request body for operation", + "required": true, + "schema": { + "$ref": "#/definitions/PatchResourceGuardInput" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceGuardResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Patch ResourceGuard": { + "$ref": "./examples/ResourceGuardCRUD/PatchResourceGuard.json" + } + } + }, + "delete": { + "operationId": "ResourceGuards_Delete", + "tags": [ + "ResourceGuardResources" + ], + "description": "Deletes a ResourceGuard resource from the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of ResourceGuard", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete ResourceGuard": { + "$ref": "./examples/ResourceGuardCRUD/DeleteResourceGuard.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteProtectedItemRequests": { + "get": { + "operationId": "ResourceGuards_GetDeleteProtectedItemRequestsObjects", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteProtectedItemRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultDeleteProtectedItemRequestsObject", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteResourceGuardProxyRequests": { + "get": { + "operationId": "ResourceGuards_GetDeleteResourceGuardProxyRequestsObjects", + "tags": [ + "ResourceGuards" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteResourceGuardProxyRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultDeleteResourceGuardProxyRequestsObject", + "tags": [ + "ResourceGuards" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/disableSoftDeleteRequests": { + "get": { + "operationId": "ResourceGuards_GetDisableSoftDeleteRequestsObjects", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/disableSoftDeleteRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultDisableSoftDeleteRequestsObject", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/getBackupSecurityPINRequests": { + "get": { + "operationId": "ResourceGuards_GetBackupSecurityPINRequestsObjects", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListBackupSecurityPINRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/getBackupSecurityPINRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultBackupSecurityPINRequestsObject", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectedItemRequests": { + "get": { + "operationId": "ResourceGuards_GetUpdateProtectedItemRequestsObjects", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectedItemRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultUpdateProtectedItemRequestsObject", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectionPolicyRequests": { + "get": { + "operationId": "ResourceGuards_GetUpdateProtectionPolicyRequestsObjects", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List OperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectionPolicyRequests/{requestName}": { + "get": { + "operationId": "ResourceGuards_GetDefaultUpdateProtectionPolicyRequestsObject", + "tags": [ + "DppBaseResourceOperationGroup" + ], + "description": "Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "resourceGuardsName", + "in": "path", + "description": "The name of the ResourceGuardResource", + "required": true, + "type": "string" + }, + { + "name": "requestName", + "in": "path", + "description": "The name of the DppBaseResource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get DefaultOperationsRequestObject": { + "$ref": "./examples/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json" + } + } + } + } + }, + "definitions": { + "AKSVolumeTypes": { + "type": "string", + "enum": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "x-ms-enum": { + "name": "AKSVolumeTypes", + "modelAsString": true, + "values": [ + { + "name": "AzureDisk", + "value": "AzureDisk" + }, + { + "name": "AzureFileShareSMB", + "value": "AzureFileShareSMB" + } + ] + } + }, + "AbsoluteDeleteOption": { + "type": "object", + "description": "Delete option with duration", + "allOf": [ + { + "$ref": "#/definitions/DeleteOption" + } + ], + "x-ms-discriminator-value": "AbsoluteDeleteOption" + }, + "AbsoluteMarker": { + "type": "string", + "enum": [ + "AllBackup", + "FirstOfDay", + "FirstOfMonth", + "FirstOfWeek", + "FirstOfYear" + ], + "x-ms-enum": { + "name": "AbsoluteMarker", + "modelAsString": true, + "values": [ + { + "name": "AllBackup", + "value": "AllBackup" + }, + { + "name": "FirstOfDay", + "value": "FirstOfDay" + }, + { + "name": "FirstOfMonth", + "value": "FirstOfMonth" + }, + { + "name": "FirstOfWeek", + "value": "FirstOfWeek" + }, + { + "name": "FirstOfYear", + "value": "FirstOfYear" + } + ] + } + }, + "AdHocBackupRuleOptions": { + "type": "object", + "description": "Adhoc backup rules", + "properties": { + "ruleName": { + "type": "string" + }, + "triggerOption": { + "$ref": "#/definitions/AdhocBackupTriggerOption", + "description": "Adhoc backup trigger option" + } + }, + "required": [ + "ruleName", + "triggerOption" + ] + }, + "AdhocBackupTriggerOption": { + "type": "object", + "description": "Adhoc backup trigger option", + "properties": { + "retentionTagOverride": { + "type": "string" + } + } + }, + "AdhocBasedTaggingCriteria": { + "type": "object", + "description": "Adhoc backup tagging criteria", + "properties": { + "tagInfo": { + "$ref": "#/definitions/RetentionTag", + "description": "Retention tag information" + } + } + }, + "AdhocBasedTriggerContext": { + "type": "object", + "description": "Adhoc trigger context", + "properties": { + "taggingCriteria": { + "$ref": "#/definitions/AdhocBasedTaggingCriteria", + "description": "Tagging Criteria containing retention tag for adhoc backup." + } + }, + "required": [ + "taggingCriteria" + ], + "allOf": [ + { + "$ref": "#/definitions/TriggerContext" + } + ], + "x-ms-discriminator-value": "AdhocBasedTriggerContext" + }, + "AdlsBlobBackupDatasourceParameters": { + "type": "object", + "description": "Parameters to be used during configuration of backup of azure data lake storage account blobs", + "allOf": [ + { + "$ref": "#/definitions/BlobBackupDatasourceParameters" + } + ], + "x-ms-discriminator-value": "AdlsBlobBackupDatasourceParameters" + }, + "AdlsBlobBackupDatasourceParametersForAutoProtection": { + "type": "object", + "description": "Parameters to be used during configuration of backup of azure data lake storage account blobs using AutoProtection settings", + "properties": { + "autoProtectionSettings": { + "$ref": "#/definitions/BlobBackupRuleBasedAutoProtectionSettings", + "description": "AutoProtection settings" + } + }, + "required": [ + "autoProtectionSettings" + ], + "allOf": [ + { + "$ref": "#/definitions/BackupDatasourceParameters" + } + ], + "x-ms-discriminator-value": "AdlsBlobBackupDatasourceParametersForAutoProtection" + }, + "AlertsState": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AlertsState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "AuthCredentials": { + "type": "object", + "description": "Base class for different types of authentication credentials.", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "AzureBackupDiscreteRecoveryPoint": { + "type": "object", + "description": "Azure backup discrete RecoveryPoint", + "properties": { + "friendlyName": { + "type": "string" + }, + "recoveryPointDataStoresDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPointDataStoreDetails" + } + }, + "recoveryPointTime": { + "type": "string", + "format": "date-time" + }, + "policyName": { + "type": "string" + }, + "policyVersion": { + "type": "string" + }, + "recoveryPointId": { + "type": "string" + }, + "recoveryPointType": { + "type": "string" + }, + "retentionTagName": { + "type": "string" + }, + "retentionTagVersion": { + "type": "string" + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "recoveryPointState": { + "$ref": "#/definitions/RecoveryPointCompletionState", + "description": "Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., ALL intended items were backed up)." + } + }, + "required": [ + "recoveryPointTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AzureBackupRecoveryPoint" + } + ], + "x-ms-discriminator-value": "AzureBackupDiscreteRecoveryPoint" + }, + "AzureBackupFindRestorableTimeRangesRequest": { + "type": "object", + "description": "List Restore Ranges Request", + "properties": { + "sourceDataStoreType": { + "$ref": "#/definitions/RestoreSourceDataStoreType", + "description": "Gets or sets the type of the source data store." + }, + "startTime": { + "type": "string", + "description": "Start time for the List Restore Ranges request. ISO 8601 format." + }, + "endTime": { + "type": "string", + "description": "End time for the List Restore Ranges request. ISO 8601 format." + } + }, + "required": [ + "sourceDataStoreType" + ] + }, + "AzureBackupFindRestorableTimeRangesResponse": { + "type": "object", + "description": "List Restore Ranges Response", + "properties": { + "restorableTimeRanges": { + "type": "array", + "description": "Returns the Restore Ranges available on the Backup Instance.", + "items": { + "$ref": "#/definitions/RestorableTimeRange" + }, + "x-ms-identifiers": [] + }, + "objectType": { + "type": "string" + } + } + }, + "AzureBackupFindRestorableTimeRangesResponseResource": { + "type": "object", + "description": "List Restore Ranges Response", + "properties": { + "properties": { + "$ref": "#/definitions/AzureBackupFindRestorableTimeRangesResponse", + "description": "AzureBackupFindRestorableTimeRangesResponseResource properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResource" + } + ] + }, + "AzureBackupJob": { + "type": "object", + "description": "AzureBackup Job Class", + "properties": { + "activityID": { + "type": "string", + "description": "Job Activity Id" + }, + "backupInstanceFriendlyName": { + "type": "string", + "description": "Name of the Backup Instance" + }, + "backupInstanceId": { + "type": "string", + "description": "ARM ID of the Backup Instance", + "readOnly": true + }, + "dataSourceId": { + "type": "string", + "description": "ARM ID of the DataSource" + }, + "dataSourceLocation": { + "type": "string", + "description": "Location of the DataSource" + }, + "dataSourceName": { + "type": "string", + "description": "User Friendly Name of the DataSource" + }, + "dataSourceSetName": { + "type": "string", + "description": "Data Source Set Name of the DataSource" + }, + "dataSourceType": { + "type": "string", + "description": "Type of DataSource" + }, + "duration": { + "type": "string", + "description": "Total run time of the job. ISO 8601 format." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "EndTime of the job(in UTC)", + "readOnly": true + }, + "errorDetails": { + "type": "array", + "description": "A List, detailing the errors related to the job", + "items": { + "$ref": "#/definitions/UserFacingError" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "extendedInfo": { + "$ref": "#/definitions/JobExtendedInfo", + "description": "Extended Information about the job", + "readOnly": true + }, + "isUserTriggered": { + "type": "boolean", + "description": "Indicated that whether the job is adhoc(true) or scheduled(false)" + }, + "operation": { + "type": "string", + "description": "It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure" + }, + "operationCategory": { + "type": "string", + "description": "It indicates the type of Job i.e. Backup/Restore/Tiering/Management" + }, + "policyId": { + "type": "string", + "description": "ARM ID of the policy", + "readOnly": true + }, + "policyName": { + "type": "string", + "description": "Name of the policy", + "readOnly": true + }, + "progressEnabled": { + "type": "boolean", + "description": "Indicated whether progress is enabled for the job" + }, + "progressUrl": { + "type": "string", + "description": "Url which contains job's progress", + "readOnly": true + }, + "rehydrationPriority": { + "type": "string", + "description": "Priority to be used for rehydration", + "readOnly": true + }, + "restoreType": { + "type": "string", + "description": "It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR", + "readOnly": true + }, + "sourceResourceGroup": { + "type": "string", + "description": "Resource Group Name of the Datasource" + }, + "sourceSubscriptionID": { + "type": "string", + "description": "SubscriptionId corresponding to the DataSource" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "StartTime of the job(in UTC)" + }, + "status": { + "type": "string", + "description": "Status of the job like InProgress/Completed/Failed/Cancelled/CompletedWithWarnings/Cancelling/Paused" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription Id of the corresponding backup vault" + }, + "supportedActions": { + "type": "array", + "description": "List of supported actions", + "items": { + "type": "string" + } + }, + "vaultName": { + "type": "string", + "description": "Name of the vault" + }, + "etag": { + "type": "string" + }, + "sourceDataStoreName": { + "type": "string" + }, + "destinationDataStoreName": { + "type": "string" + } + }, + "required": [ + "activityID", + "backupInstanceFriendlyName", + "dataSourceId", + "dataSourceLocation", + "dataSourceName", + "dataSourceType", + "isUserTriggered", + "operation", + "operationCategory", + "progressEnabled", + "sourceResourceGroup", + "sourceSubscriptionID", + "startTime", + "status", + "subscriptionId", + "supportedActions", + "vaultName" + ] + }, + "AzureBackupJobResource": { + "type": "object", + "description": "AzureBackup Job Resource Class", + "properties": { + "properties": { + "$ref": "#/definitions/AzureBackupJob", + "description": "AzureBackupJobResource properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AzureBackupJobResourceList": { + "type": "object", + "description": "List of AzureBackup Job resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/AzureBackupJobResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "AzureBackupParams": { + "type": "object", + "description": "Azure backup parameters", + "properties": { + "backupType": { + "type": "string", + "description": "BackupType ; Full/Incremental etc" + } + }, + "required": [ + "backupType" + ], + "allOf": [ + { + "$ref": "#/definitions/BackupParameters" + } + ], + "x-ms-discriminator-value": "AzureBackupParams" + }, + "AzureBackupRecoveryPoint": { + "type": "object", + "description": "Azure backup recoveryPoint", + "properties": { + "objectType": { + "type": "string" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "AzureBackupRecoveryPointBasedRestoreRequest": { + "type": "object", + "description": "Azure backup recoveryPoint based restore request", + "properties": { + "recoveryPointId": { + "type": "string" + } + }, + "required": [ + "recoveryPointId" + ], + "allOf": [ + { + "$ref": "#/definitions/AzureBackupRestoreRequest" + } + ], + "x-ms-discriminator-value": "AzureBackupRecoveryPointBasedRestoreRequest" + }, + "AzureBackupRecoveryPointResource": { + "type": "object", + "description": "Azure backup recoveryPoint resource", + "properties": { + "properties": { + "$ref": "#/definitions/AzureBackupRecoveryPoint", + "description": "AzureBackupRecoveryPointResource properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "AzureBackupRecoveryPointResourceList": { + "type": "object", + "description": "Azure backup recoveryPoint resource list", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/AzureBackupRecoveryPointResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "AzureBackupRecoveryTimeBasedRestoreRequest": { + "type": "object", + "description": "AzureBackup RecoveryPointTime Based Restore Request", + "properties": { + "recoveryPointTime": { + "type": "string", + "description": "The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z." + } + }, + "required": [ + "recoveryPointTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AzureBackupRestoreRequest" + } + ], + "x-ms-discriminator-value": "AzureBackupRecoveryTimeBasedRestoreRequest" + }, + "AzureBackupRehydrationRequest": { + "type": "object", + "description": "Azure Backup Rehydrate Request", + "properties": { + "recoveryPointId": { + "type": "string", + "description": "Id of the recovery point to be recovered" + }, + "rehydrationPriority": { + "$ref": "#/definitions/RehydrationPriority", + "description": "Priority to be used for rehydration. Values High or Standard" + }, + "rehydrationRetentionDuration": { + "type": "string", + "description": "Retention duration in ISO 8601 format i.e P10D ." + } + }, + "required": [ + "recoveryPointId", + "rehydrationRetentionDuration" + ] + }, + "AzureBackupRestoreRequest": { + "type": "object", + "description": "Azure backup restore request", + "properties": { + "objectType": { + "type": "string" + }, + "restoreTargetInfo": { + "$ref": "#/definitions/RestoreTargetInfoBase", + "description": "Gets or sets the restore target information." + }, + "sourceDataStoreType": { + "$ref": "#/definitions/SourceDataStoreType", + "description": "Gets or sets the type of the source data store." + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified Azure Resource Manager ID of the datasource which is being recovered." + }, + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + }, + "identityDetails": { + "$ref": "#/definitions/IdentityDetails", + "description": "Contains information of the Identity Details for the BI.\nIf it is null, default will be considered as System Assigned." + } + }, + "discriminator": "objectType", + "required": [ + "objectType", + "restoreTargetInfo", + "sourceDataStoreType" + ] + }, + "AzureBackupRestoreWithRehydrationRequest": { + "type": "object", + "description": "AzureBackup Restore with Rehydration Request", + "properties": { + "rehydrationPriority": { + "$ref": "#/definitions/RehydrationPriority", + "description": "Priority to be used for rehydration. Values High or Standard" + }, + "rehydrationRetentionDuration": { + "type": "string", + "description": "Retention duration in ISO 8601 format i.e P10D ." + } + }, + "required": [ + "rehydrationPriority", + "rehydrationRetentionDuration" + ], + "allOf": [ + { + "$ref": "#/definitions/AzureBackupRecoveryPointBasedRestoreRequest" + } + ], + "x-ms-discriminator-value": "AzureBackupRestoreWithRehydrationRequest" + }, + "AzureBackupRule": { + "type": "object", + "description": "Azure backup rule", + "properties": { + "backupParameters": { + "$ref": "#/definitions/BackupParameters", + "description": "BackupParameters base" + }, + "dataStore": { + "$ref": "#/definitions/DataStoreInfoBase", + "description": "DataStoreInfo base" + }, + "trigger": { + "$ref": "#/definitions/TriggerContext", + "description": "Trigger context" + } + }, + "required": [ + "dataStore", + "trigger" + ], + "allOf": [ + { + "$ref": "#/definitions/BasePolicyRule" + } + ], + "x-ms-discriminator-value": "AzureBackupRule" + }, + "AzureMonitorAlertSettings": { + "type": "object", + "description": "Settings for Azure Monitor based alerts", + "properties": { + "alertsForAllJobFailures": { + "$ref": "#/definitions/AlertsState" + } + } + }, + "AzureOperationalStoreParameters": { + "type": "object", + "description": "Parameters for Operational-Tier DataStore", + "properties": { + "resourceGroupId": { + "type": "string", + "description": "Gets or sets the Snapshot Resource Group Uri." + } + }, + "allOf": [ + { + "$ref": "#/definitions/DataStoreParameters" + } + ], + "x-ms-discriminator-value": "AzureOperationalStoreParameters" + }, + "AzureRetentionRule": { + "type": "object", + "description": "Azure retention rule", + "properties": { + "isDefault": { + "type": "boolean" + }, + "lifecycles": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceLifeCycle" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "lifecycles" + ], + "allOf": [ + { + "$ref": "#/definitions/BasePolicyRule" + } + ], + "x-ms-discriminator-value": "AzureRetentionRule" + }, + "BCDRSecurityLevel": { + "type": "string", + "description": "Security Level of Backup Vault", + "enum": [ + "Poor", + "Fair", + "Good", + "Excellent", + "NotSupported" + ], + "x-ms-enum": { + "name": "BCDRSecurityLevel", + "modelAsString": true, + "values": [ + { + "name": "Poor", + "value": "Poor" + }, + { + "name": "Fair", + "value": "Fair" + }, + { + "name": "Good", + "value": "Good" + }, + { + "name": "Excellent", + "value": "Excellent" + }, + { + "name": "NotSupported", + "value": "NotSupported" + } + ] + } + }, + "BackupCriteria": { + "type": "object", + "description": "BackupCriteria base class", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "BackupDatasourceParameters": { + "type": "object", + "description": "Parameters for Backup Datasource", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "BackupInstance": { + "type": "object", + "description": "Backup Instance", + "properties": { + "friendlyName": { + "type": "string", + "description": "Gets or sets the Backup Instance friendly name." + }, + "dataSourceInfo": { + "$ref": "#/definitions/Datasource", + "description": "Gets or sets the data source information." + }, + "dataSourceSetInfo": { + "$ref": "#/definitions/DatasourceSet", + "description": "Gets or sets the data source set information." + }, + "policyInfo": { + "$ref": "#/definitions/PolicyInfo", + "description": "Gets or sets the policy information." + }, + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + }, + "protectionStatus": { + "$ref": "#/definitions/ProtectionStatusDetails", + "description": "Specifies the protection status of the resource", + "readOnly": true + }, + "currentProtectionState": { + "$ref": "#/definitions/CurrentProtectionState", + "description": "Specifies the current protection state of the resource", + "readOnly": true + }, + "protectionErrorDetails": { + "$ref": "#/definitions/UserFacingError", + "description": "Specifies the protection error of the resource", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed", + "readOnly": true + }, + "datasourceAuthCredentials": { + "$ref": "#/definitions/AuthCredentials", + "description": "Credentials to use to authenticate with data source provider." + }, + "validationType": { + "$ref": "#/definitions/ValidationType", + "description": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again." + }, + "identityDetails": { + "$ref": "#/definitions/IdentityDetails", + "description": "Contains information of the Identity Details for the BI.\nIf it is null, default will be considered as System Assigned." + }, + "objectType": { + "type": "string" + } + }, + "required": [ + "dataSourceInfo", + "policyInfo", + "objectType" + ] + }, + "BackupInstanceResource": { + "type": "object", + "description": "BackupInstance Resource", + "properties": { + "properties": { + "$ref": "#/definitions/BackupInstance", + "description": "BackupInstanceResource properties" + }, + "tags": { + "type": "object", + "description": "Proxy Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BackupInstanceResourceList": { + "type": "object", + "description": "BackupInstance Resource list response", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/BackupInstanceResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "BackupParameters": { + "type": "object", + "description": "BackupParameters base", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "BackupPolicy": { + "type": "object", + "description": "Rule based backup policy", + "properties": { + "policyRules": { + "type": "array", + "description": "Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc", + "items": { + "$ref": "#/definitions/BasePolicyRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "policyRules" + ], + "allOf": [ + { + "$ref": "#/definitions/BaseBackupPolicy" + } + ], + "x-ms-discriminator-value": "BackupPolicy" + }, + "BackupSchedule": { + "type": "object", + "description": "Schedule for backup", + "properties": { + "repeatingTimeIntervals": { + "type": "array", + "description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`", + "items": { + "type": "string" + } + }, + "timeZone": { + "type": "string", + "description": "Time Zone for a schedule.\n\nSupported timezone indicators include:\n- 'Z' for UTC\n- '+00:00'\n- '+05:30'\n- '-08:00'\n\nExamples:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30-08:00" + } + }, + "required": [ + "repeatingTimeIntervals" + ] + }, + "BackupVault": { + "type": "object", + "description": "Backup Vault", + "properties": { + "monitoringSettings": { + "$ref": "#/definitions/MonitoringSettings", + "description": "Monitoring Settings" + }, + "costManagementSettings": { + "$ref": "#/definitions/CostManagementSettings", + "description": "Cost Management Settings of the vault" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the BackupVault resource", + "readOnly": true + }, + "resourceMoveState": { + "$ref": "#/definitions/ResourceMoveState", + "description": "Resource move state for backup vault", + "readOnly": true + }, + "resourceMoveDetails": { + "$ref": "#/definitions/ResourceMoveDetails", + "description": "Resource move details for backup vault", + "readOnly": true + }, + "securitySettings": { + "$ref": "#/definitions/SecuritySettings", + "description": "Security Settings" + }, + "storageSettings": { + "type": "array", + "description": "Storage Settings", + "items": { + "$ref": "#/definitions/StorageSetting" + }, + "x-ms-identifiers": [] + }, + "isVaultProtectedByResourceGuard": { + "type": "boolean", + "description": "Is vault protected by resource guard", + "readOnly": true + }, + "featureSettings": { + "$ref": "#/definitions/FeatureSettings", + "description": "Feature Settings" + }, + "secureScore": { + "$ref": "#/definitions/SecureScoreLevel", + "description": "Secure Score of Backup Vault", + "readOnly": true + }, + "bcdrSecurityLevel": { + "$ref": "#/definitions/BCDRSecurityLevel", + "description": "Security Level of Backup Vault", + "readOnly": true + }, + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + }, + "replicatedRegions": { + "type": "array", + "description": "List of replicated regions for Backup Vault", + "items": { + "type": "string" + } + } + } + }, + "BackupVaultResource": { + "type": "object", + "description": "Backup Vault Resource", + "properties": { + "properties": { + "$ref": "#/definitions/BackupVault", + "description": "BackupVaultResource properties" + }, + "identity": { + "$ref": "#/definitions/DppIdentityDetails", + "description": "Input Managed Identity Details" + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "BackupVaultResourceList": { + "type": "object", + "description": "List of BackupVault resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/BackupVaultResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "BaseBackupPolicy": { + "type": "object", + "description": "BackupPolicy base", + "properties": { + "datasourceTypes": { + "type": "array", + "description": "Type of datasource for the backup management", + "items": { + "type": "string" + } + }, + "objectType": { + "type": "string" + } + }, + "discriminator": "objectType", + "required": [ + "datasourceTypes", + "objectType" + ] + }, + "BaseBackupPolicyResource": { + "type": "object", + "description": "BaseBackupPolicy resource", + "properties": { + "properties": { + "$ref": "#/definitions/BaseBackupPolicy", + "description": "BaseBackupPolicyResource properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BaseBackupPolicyResourceList": { + "type": "object", + "description": "List of BaseBackupPolicy resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/BaseBackupPolicyResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "BasePolicyRule": { + "type": "object", + "description": "BasePolicy Rule", + "properties": { + "name": { + "type": "string" + }, + "objectType": { + "type": "string" + } + }, + "discriminator": "objectType", + "required": [ + "name", + "objectType" + ] + }, + "BaseResourceProperties": { + "type": "object", + "description": "Properties which are specific to datasource/datasourceSets", + "properties": { + "objectType": { + "$ref": "#/definitions/ResourcePropertiesObjectType", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "BlobBackupAutoProtectionRule": { + "type": "object", + "description": "Indicates a Blob Backup Auto Protection Rule.", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + }, + "mode": { + "$ref": "#/definitions/BlobBackupRuleMode", + "description": "Exclude removes candidates (after inclusion)" + }, + "type": { + "$ref": "#/definitions/BlobBackupPatternType", + "description": "Pattern type: Prefix, only pattern type supported for now." + }, + "pattern": { + "type": "string", + "description": "The string pattern to evaluate against container names. For now this accepts literal strings only (no wildcards or regex)." + } + }, + "required": [ + "objectType", + "mode", + "type", + "pattern" + ] + }, + "BlobBackupAutoProtectionSettings": { + "type": "object", + "description": "The settings for Blob Backup Auto Protection.", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + }, + "enabled": { + "type": "boolean", + "description": "Flag to enable whether auto protection." + } + }, + "discriminator": "objectType", + "required": [ + "objectType", + "enabled" + ] + }, + "BlobBackupDatasourceParameters": { + "type": "object", + "description": "Parameters to be used during configuration of backup of blobs", + "properties": { + "containersList": { + "type": "array", + "description": "List of containers to be backed up during configuration of backup of blobs", + "items": { + "type": "string" + } + } + }, + "required": [ + "containersList" + ], + "allOf": [ + { + "$ref": "#/definitions/BackupDatasourceParameters" + } + ], + "x-ms-discriminator-value": "BlobBackupDatasourceParameters" + }, + "BlobBackupDatasourceParametersForAutoProtection": { + "type": "object", + "description": "Paramters to be used during configuration of backup of blobs using AutoProtection settings", + "properties": { + "autoProtectionSettings": { + "$ref": "#/definitions/BlobBackupRuleBasedAutoProtectionSettings", + "description": "AutoProtection settings" + } + }, + "required": [ + "autoProtectionSettings" + ], + "allOf": [ + { + "$ref": "#/definitions/BackupDatasourceParameters" + } + ], + "x-ms-discriminator-value": "BlobBackupDatasourceParametersForAutoProtection" + }, + "BlobBackupPatternType": { + "type": "string", + "description": "Pattern type. Only Prefix supported for now.", + "enum": [ + "Prefix" + ], + "x-ms-enum": { + "name": "BlobBackupPatternType", + "modelAsString": true, + "values": [ + { + "name": "Prefix", + "value": "Prefix" + } + ] + } + }, + "BlobBackupRuleBasedAutoProtectionSettings": { + "type": "object", + "description": "Parameters to be used for Blob Backup Rule Based Auto Protection settings.", + "properties": { + "rules": { + "type": "array", + "description": "Rules are evaluated in the order provided. Inclusion adds candidates; exclusion removes candidates.\nIf no rules are present, all containers are considered eligible when enabled = true.", + "items": { + "$ref": "#/definitions/BlobBackupAutoProtectionRule" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BlobBackupAutoProtectionSettings" + } + ], + "x-ms-discriminator-value": "BlobBackupRuleBasedAutoProtectionSettings" + }, + "BlobBackupRuleMode": { + "type": "string", + "description": "Rule mode (Only Exclude supported for now).", + "enum": [ + "Exclude" + ], + "x-ms-enum": { + "name": "BlobBackupRuleMode", + "modelAsString": true, + "values": [ + { + "name": "Exclude", + "value": "Exclude" + } + ] + } + }, + "CheckNameAvailabilityRequest": { + "type": "object", + "description": "CheckNameAvailability Request", + "properties": { + "name": { + "type": "string", + "description": "Resource name for which availability needs to be checked" + }, + "type": { + "type": "string", + "description": "Describes the Resource type: Microsoft.DataProtection/BackupVaults" + } + } + }, + "CheckNameAvailabilityResult": { + "type": "object", + "description": "CheckNameAvailability Result", + "properties": { + "message": { + "type": "string", + "description": "Gets or sets the message." + }, + "nameAvailable": { + "type": "boolean", + "description": "Gets or sets a value indicating whether [name available]." + }, + "reason": { + "type": "string", + "description": "Gets or sets the reason." + } + } + }, + "CloudError": { + "type": "object", + "description": "An error response from Azure Backup.", + "properties": { + "error": { + "$ref": "#/definitions/Error", + "description": "The resource management error response." + } + } + }, + "CmkKekIdentity": { + "type": "object", + "description": "The details of the managed identity used for CMK", + "properties": { + "identityType": { + "$ref": "#/definitions/IdentityType", + "description": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity." + }, + "identityId": { + "type": "string", + "description": "The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only." + } + } + }, + "CmkKeyVaultProperties": { + "type": "object", + "description": "The properties of the Key Vault which hosts CMK", + "properties": { + "keyUri": { + "type": "string", + "description": "The key uri of the Customer Managed Key" + } + } + }, + "CopyOnExpiryOption": { + "type": "object", + "description": "Copy on Expiry Option", + "allOf": [ + { + "$ref": "#/definitions/CopyOption" + } + ], + "x-ms-discriminator-value": "CopyOnExpiryOption" + }, + "CopyOption": { + "type": "object", + "description": "Options to copy", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "CostManagementSettings": { + "type": "object", + "description": "Cost Management Settings of the vault", + "properties": { + "granularityLevel": { + "$ref": "#/definitions/GranularityLevel", + "description": "Settings for granularity level" + } + } + }, + "CrossRegionRestoreDetails": { + "type": "object", + "description": "Cross Region Restore details", + "properties": { + "sourceRegion": { + "type": "string" + }, + "sourceBackupInstanceId": { + "type": "string" + } + }, + "required": [ + "sourceRegion", + "sourceBackupInstanceId" + ] + }, + "CrossRegionRestoreJobRequest": { + "type": "object", + "description": "Details of CRR Job to be fetched", + "properties": { + "sourceRegion": { + "type": "string" + }, + "sourceBackupVaultId": { + "type": "string" + }, + "jobId": { + "type": "string" + } + }, + "required": [ + "sourceRegion", + "sourceBackupVaultId", + "jobId" + ] + }, + "CrossRegionRestoreJobsRequest": { + "type": "object", + "description": "Details of Backup Vault for which CRR Jobs are to be fetched", + "properties": { + "sourceRegion": { + "type": "string" + }, + "sourceBackupVaultId": { + "type": "string" + } + }, + "required": [ + "sourceRegion", + "sourceBackupVaultId" + ] + }, + "CrossRegionRestoreRequestObject": { + "type": "object", + "description": "Cross Region Restore Request Object", + "properties": { + "restoreRequestObject": { + "$ref": "#/definitions/AzureBackupRestoreRequest", + "description": "Gets or sets the restore request object." + }, + "crossRegionRestoreDetails": { + "$ref": "#/definitions/CrossRegionRestoreDetails", + "description": "Cross region restore details." + } + }, + "required": [ + "restoreRequestObject", + "crossRegionRestoreDetails" + ] + }, + "CrossRegionRestoreSettings": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/CrossRegionRestoreState", + "description": "CrossRegionRestore state" + } + } + }, + "CrossRegionRestoreState": { + "type": "string", + "description": "CrossRegionRestore state", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "CrossRegionRestoreState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "CrossSubscriptionRestoreSettings": { + "type": "object", + "description": "CrossSubscriptionRestore Settings", + "properties": { + "state": { + "$ref": "#/definitions/CrossSubscriptionRestoreState", + "description": "CrossSubscriptionRestore state" + } + } + }, + "CrossSubscriptionRestoreState": { + "type": "string", + "description": "CrossSubscriptionRestore state", + "enum": [ + "Disabled", + "PermanentlyDisabled", + "Enabled" + ], + "x-ms-enum": { + "name": "CrossSubscriptionRestoreState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "PermanentlyDisabled", + "value": "PermanentlyDisabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "CurrentProtectionState": { + "type": "string", + "description": "Specifies the current protection state of the resource", + "enum": [ + "Invalid", + "NotProtected", + "ConfiguringProtection", + "ProtectionConfigured", + "BackupSchedulesSuspended", + "RetentionSchedulesSuspended", + "ProtectionStopped", + "ProtectionError", + "ConfiguringProtectionFailed", + "SoftDeleting", + "SoftDeleted", + "UpdatingProtection" + ], + "x-ms-enum": { + "name": "CurrentProtectionState", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "NotProtected", + "value": "NotProtected" + }, + { + "name": "ConfiguringProtection", + "value": "ConfiguringProtection" + }, + { + "name": "ProtectionConfigured", + "value": "ProtectionConfigured" + }, + { + "name": "BackupSchedulesSuspended", + "value": "BackupSchedulesSuspended" + }, + { + "name": "RetentionSchedulesSuspended", + "value": "RetentionSchedulesSuspended" + }, + { + "name": "ProtectionStopped", + "value": "ProtectionStopped" + }, + { + "name": "ProtectionError", + "value": "ProtectionError" + }, + { + "name": "ConfiguringProtectionFailed", + "value": "ConfiguringProtectionFailed" + }, + { + "name": "SoftDeleting", + "value": "SoftDeleting" + }, + { + "name": "SoftDeleted", + "value": "SoftDeleted" + }, + { + "name": "UpdatingProtection", + "value": "UpdatingProtection" + } + ] + } + }, + "CustomCopyOption": { + "type": "object", + "description": "Duration based custom options to copy", + "properties": { + "duration": { + "type": "string", + "description": "Data copied after given timespan" + } + }, + "allOf": [ + { + "$ref": "#/definitions/CopyOption" + } + ], + "x-ms-discriminator-value": "CustomCopyOption" + }, + "DataStoreInfoBase": { + "type": "object", + "description": "DataStoreInfo base", + "properties": { + "dataStoreType": { + "$ref": "#/definitions/DataStoreTypes", + "description": "type of datastore; Operational/Vault/Archive" + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + } + }, + "required": [ + "dataStoreType", + "objectType" + ] + }, + "DataStoreParameters": { + "type": "object", + "description": "Parameters for DataStore", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + }, + "dataStoreType": { + "$ref": "#/definitions/DataStoreTypes", + "description": "type of datastore; Operational/Vault/Archive" + } + }, + "discriminator": "objectType", + "required": [ + "objectType", + "dataStoreType" + ] + }, + "DataStoreTypes": { + "type": "string", + "description": "type of datastore; Operational/Vault/Archive", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ], + "x-ms-enum": { + "name": "DataStoreTypes", + "modelAsString": true, + "values": [ + { + "name": "OperationalStore", + "value": "OperationalStore" + }, + { + "name": "VaultStore", + "value": "VaultStore" + }, + { + "name": "ArchiveStore", + "value": "ArchiveStore" + } + ] + } + }, + "Datasource": { + "type": "object", + "description": "Datasource to be backed up", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "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." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + }, + "resourceProperties": { + "$ref": "#/definitions/BaseResourceProperties", + "description": "Properties specific to data source" + } + }, + "required": [ + "resourceID" + ] + }, + "DatasourceSet": { + "type": "object", + "description": "DatasourceSet details of datasource to be backed up", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "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." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + }, + "resourceProperties": { + "$ref": "#/definitions/BaseResourceProperties", + "description": "Properties specific to data source set" + } + }, + "required": [ + "resourceID" + ] + }, + "Day": { + "type": "object", + "description": "Day of the week", + "properties": { + "date": { + "type": "integer", + "format": "int32", + "description": "Date of the month" + }, + "isLast": { + "type": "boolean", + "description": "Whether Date is last date of month" + } + } + }, + "DayOfWeek": { + "type": "string", + "enum": [ + "Friday", + "Monday", + "Saturday", + "Sunday", + "Thursday", + "Tuesday", + "Wednesday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true, + "values": [ + { + "name": "Friday", + "value": "Friday" + }, + { + "name": "Monday", + "value": "Monday" + }, + { + "name": "Saturday", + "value": "Saturday" + }, + { + "name": "Sunday", + "value": "Sunday" + }, + { + "name": "Thursday", + "value": "Thursday" + }, + { + "name": "Tuesday", + "value": "Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday" + } + ] + } + }, + "DefaultResourceProperties": { + "type": "object", + "description": "Default source properties", + "allOf": [ + { + "$ref": "#/definitions/BaseResourceProperties" + } + ], + "x-ms-discriminator-value": "DefaultResourceProperties" + }, + "DeleteOption": { + "type": "object", + "description": "Delete Option", + "properties": { + "duration": { + "type": "string", + "description": "Duration of deletion after given timespan" + }, + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "duration", + "objectType" + ] + }, + "DeletedBackupInstance": { + "type": "object", + "description": "Deleted Backup Instance", + "properties": { + "deletionInfo": { + "$ref": "#/definitions/DeletionInfo", + "description": "Deletion info of Backup Instance", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackupInstance" + } + ] + }, + "DeletedBackupInstanceResource": { + "type": "object", + "description": "Deleted Backup Instance", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedBackupInstance", + "description": "DeletedBackupInstanceResource properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeletedBackupInstanceResourceList": { + "type": "object", + "description": "List of DeletedBackupInstance resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/DeletedBackupInstanceResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "DeletedBackupVault": { + "type": "object", + "description": "Deleted Backup Vault - uses composition with BackupVault and additional deletion metadata", + "properties": { + "monitoringSettings": { + "$ref": "#/definitions/MonitoringSettings", + "description": "Monitoring Settings" + }, + "costManagementSettings": { + "$ref": "#/definitions/CostManagementSettings", + "description": "Cost Management Settings of the vault" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the BackupVault resource", + "readOnly": true + }, + "resourceMoveState": { + "$ref": "#/definitions/ResourceMoveState", + "description": "Resource move state for backup vault", + "readOnly": true + }, + "resourceMoveDetails": { + "$ref": "#/definitions/ResourceMoveDetails", + "description": "Resource move details for backup vault", + "readOnly": true + }, + "securitySettings": { + "$ref": "#/definitions/SecuritySettings", + "description": "Security Settings" + }, + "storageSettings": { + "type": "array", + "description": "Storage Settings", + "items": { + "$ref": "#/definitions/StorageSetting" + }, + "x-ms-identifiers": [] + }, + "isVaultProtectedByResourceGuard": { + "type": "boolean", + "description": "Is vault protected by resource guard", + "readOnly": true + }, + "featureSettings": { + "$ref": "#/definitions/FeatureSettings", + "description": "Feature Settings" + }, + "secureScore": { + "$ref": "#/definitions/SecureScoreLevel", + "description": "Secure Score of Backup Vault", + "readOnly": true + }, + "bcdrSecurityLevel": { + "$ref": "#/definitions/BCDRSecurityLevel", + "description": "Security Level of Backup Vault", + "readOnly": true + }, + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + }, + "replicatedRegions": { + "type": "array", + "description": "List of replicated regions for Backup Vault", + "items": { + "type": "string" + } + }, + "originalBackupVaultId": { + "type": "string", + "description": "Resource Id of the original backup vault", + "readOnly": true + }, + "originalBackupVaultName": { + "type": "string", + "description": "Resource name of the original backup vault", + "readOnly": true + }, + "originalBackupVaultResourcePath": { + "type": "string", + "description": "Resource path of the original backup vault", + "readOnly": true + }, + "resourceDeletionInfo": { + "$ref": "#/definitions/ResourceDeletionInfo", + "description": "Deletion info for the tracked resource (Backup Vault)", + "readOnly": true + } + }, + "required": [ + "originalBackupVaultId", + "originalBackupVaultName", + "originalBackupVaultResourcePath", + "resourceDeletionInfo" + ] + }, + "DeletedBackupVaultResource": { + "type": "object", + "description": "Deleted Backup Vault Resource (available from version 2025-09-01)", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedBackupVault", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeletedBackupVaultResourceListResult": { + "type": "object", + "description": "The response of a DeletedBackupVaultResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DeletedBackupVaultResource items on this page", + "items": { + "$ref": "#/definitions/DeletedBackupVaultResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DeletionInfo": { + "type": "object", + "description": "Deletion Info", + "properties": { + "deletionTime": { + "type": "string", + "description": "Specifies time of deletion", + "readOnly": true + }, + "billingEndDate": { + "type": "string", + "description": "Specifies billing end date", + "readOnly": true + }, + "scheduledPurgeTime": { + "type": "string", + "description": "Specifies purge time", + "readOnly": true + }, + "deleteActivityID": { + "type": "string", + "description": "Delete activity ID for troubleshooting purpose", + "readOnly": true + } + } + }, + "DppBaseResource": { + "type": "object", + "description": "Base resource under Microsoft.DataProtection provider namespace", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DppBaseResourceList": { + "type": "object", + "description": "Base for all lists of V2 resources.", + "properties": { + "value": { + "type": "array", + "description": "The DppBaseResource items on this page", + "items": { + "$ref": "#/definitions/DppBaseResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DppIdentityDetails": { + "type": "object", + "description": "Identity details", + "properties": { + "principalId": { + "type": "string", + "description": "The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None" + }, + "userAssignedIdentities": { + "type": "object", + "description": "Gets or sets the user assigned identities.", + "additionalProperties": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + } + } + }, + "DppResource": { + "type": "object", + "description": "Resource class", + "properties": { + "id": { + "type": "string", + "description": "Resource Id represents the complete path to the resource.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name associated with the resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + } + } + }, + "DppResourceList": { + "type": "object", + "description": "ListResource", + "properties": { + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of resources. Call ListNext() fetches next page of resources." + } + } + }, + "DppTrackedResourceList": { + "type": "object", + "properties": { + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of resources. Call ListNext() fetches next page of resources." + } + } + }, + "EncryptionState": { + "type": "string", + "description": "Encryption state of the Backup Vault.", + "enum": [ + "Enabled", + "Disabled", + "Inconsistent" + ], + "x-ms-enum": { + "name": "EncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "CMK encryption is enabled on the Backup Vault" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'." + }, + { + "name": "Inconsistent", + "value": "Inconsistent", + "description": "CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state." + } + ] + } + }, + "Error": { + "type": "object", + "description": "The resource management error response.", + "properties": { + "additionalInfo": { + "type": "array", + "description": "The error additional info.", + "items": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorAdditionalInfo" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "code": { + "type": "string", + "description": "The error code.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "The error details.", + "items": { + "$ref": "#/definitions/Error" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "message": { + "type": "string", + "description": "The error message.", + "readOnly": true + }, + "target": { + "type": "string", + "description": "The error target.", + "readOnly": true + } + } + }, + "ExistingResourcePolicy": { + "type": "string", + "description": "Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore.", + "enum": [ + "Skip", + "Patch" + ], + "x-ms-enum": { + "name": "ExistingResourcePolicy", + "modelAsString": true, + "values": [ + { + "name": "Skip", + "value": "Skip" + }, + { + "name": "Patch", + "value": "Patch" + } + ] + } + }, + "ExportJobsResult": { + "type": "object", + "description": "The result for export jobs containing blob details.", + "properties": { + "blobUrl": { + "type": "string", + "description": "URL of the blob into which the serialized string of list of jobs is exported.", + "readOnly": true + }, + "blobSasKey": { + "type": "string", + "description": "SAS key to access the blob.", + "readOnly": true + }, + "excelFileBlobUrl": { + "type": "string", + "description": "URL of the blob into which the ExcelFile is uploaded.", + "readOnly": true + }, + "excelFileBlobSasKey": { + "type": "string", + "description": "SAS key to access the ExcelFile blob.", + "readOnly": true + } + } + }, + "FeatureSettings": { + "type": "object", + "description": "Class containing feature settings of vault", + "properties": { + "crossSubscriptionRestoreSettings": { + "$ref": "#/definitions/CrossSubscriptionRestoreSettings", + "description": "CrossSubscriptionRestore Settings" + }, + "crossRegionRestoreSettings": { + "$ref": "#/definitions/CrossRegionRestoreSettings" + } + } + }, + "FeatureSupportStatus": { + "type": "string", + "description": "feature support status", + "enum": [ + "Invalid", + "NotSupported", + "AlphaPreview", + "PrivatePreview", + "PublicPreview", + "GenerallyAvailable" + ], + "x-ms-enum": { + "name": "FeatureSupportStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "NotSupported", + "value": "NotSupported" + }, + { + "name": "AlphaPreview", + "value": "AlphaPreview" + }, + { + "name": "PrivatePreview", + "value": "PrivatePreview" + }, + { + "name": "PublicPreview", + "value": "PublicPreview" + }, + { + "name": "GenerallyAvailable", + "value": "GenerallyAvailable" + } + ] + } + }, + "FeatureType": { + "type": "string", + "description": "backup support feature type.", + "enum": [ + "Invalid", + "DataSourceType" + ], + "x-ms-enum": { + "name": "FeatureType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "DataSourceType", + "value": "DataSourceType" + } + ] + } + }, + "FeatureValidationRequest": { + "type": "object", + "description": "Base class for feature object", + "properties": { + "featureType": { + "$ref": "#/definitions/FeatureType", + "description": "backup support feature type." + }, + "featureName": { + "type": "string", + "description": "backup support feature name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/FeatureValidationRequestBase" + } + ], + "x-ms-discriminator-value": "FeatureValidationRequest" + }, + "FeatureValidationRequestBase": { + "type": "object", + "description": "Base class for Backup Feature support", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "FeatureValidationResponse": { + "type": "object", + "description": "Feature Validation Response", + "properties": { + "featureType": { + "$ref": "#/definitions/FeatureType", + "description": "backup support feature type." + }, + "features": { + "type": "array", + "description": "Response features", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/FeatureValidationResponseBase" + } + ], + "x-ms-discriminator-value": "FeatureValidationResponse" + }, + "FeatureValidationResponseBase": { + "type": "object", + "description": "Base class for Backup Feature support", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "FetchSecondaryRPsRequestParameters": { + "type": "object", + "description": "Information about BI whose secondary RecoveryPoints are requested\nSource region and\nBI ARM path", + "properties": { + "sourceRegion": { + "type": "string", + "description": "Source region in which BackupInstance is located" + }, + "sourceBackupInstanceId": { + "type": "string", + "description": "ARM Path of BackupInstance" + } + } + }, + "GranularityLevel": { + "type": "string", + "enum": [ + "VaultLevel", + "ProtectedItemLevel", + "ProtectedItemWithParentTag" + ], + "x-ms-enum": { + "name": "GranularityLevel", + "modelAsString": true, + "values": [ + { + "name": "VaultLevel", + "value": "VaultLevel" + }, + { + "name": "ProtectedItemLevel", + "value": "ProtectedItemLevel" + }, + { + "name": "ProtectedItemWithParentTag", + "value": "ProtectedItemWithParentTag" + } + ] + } + }, + "IdentityDetails": { + "type": "object", + "properties": { + "useSystemAssignedIdentity": { + "type": "boolean", + "description": "Specifies if the BI is protected by System Identity." + }, + "userAssignedIdentityArmUrl": { + "type": "string", + "description": "ARM URL for User Assigned Identity." + } + } + }, + "IdentityType": { + "type": "string", + "description": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity.", + "enum": [ + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] + } + }, + "ImmediateCopyOption": { + "type": "object", + "description": "Immediate copy Option", + "allOf": [ + { + "$ref": "#/definitions/CopyOption" + } + ], + "x-ms-discriminator-value": "ImmediateCopyOption" + }, + "ImmutabilitySettings": { + "type": "object", + "description": "Immutability Settings at vault level", + "properties": { + "state": { + "$ref": "#/definitions/ImmutabilityState", + "description": "Immutability state" + } + } + }, + "ImmutabilityState": { + "type": "string", + "description": "Immutability state", + "enum": [ + "Disabled", + "Unlocked", + "Locked" + ], + "x-ms-enum": { + "name": "ImmutabilityState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Unlocked", + "value": "Unlocked" + }, + { + "name": "Locked", + "value": "Locked" + } + ] + } + }, + "InfrastructureEncryptionState": { + "type": "string", + "description": "Enabling/Disabling the Double Encryption state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "InfrastructureEncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "InnerError": { + "type": "object", + "description": "Inner Error", + "properties": { + "additionalInfo": { + "type": "object", + "description": "Any Key value pairs that can be provided to the client for additional verbose information.", + "additionalProperties": { + "type": "string" + } + }, + "code": { + "type": "string", + "description": "Unique code for this error" + }, + "embeddedInnerError": { + "$ref": "#/definitions/InnerError", + "description": "Child Inner Error, to allow Nesting." + } + } + }, + "ItemLevelRestoreCriteria": { + "type": "object", + "description": "Class to contain criteria for item level restore", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "ItemLevelRestoreTargetInfo": { + "type": "object", + "description": "Restore target info for Item level restore operation", + "properties": { + "restoreCriteria": { + "type": "array", + "description": "Restore Criteria", + "items": { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + }, + "x-ms-identifiers": [] + }, + "datasourceInfo": { + "$ref": "#/definitions/Datasource", + "description": "Information of target DS" + }, + "datasourceSetInfo": { + "$ref": "#/definitions/DatasourceSet", + "description": "Information of target DS Set" + }, + "datasourceAuthCredentials": { + "$ref": "#/definitions/AuthCredentials", + "description": "Credentials to use to authenticate with data source provider." + } + }, + "required": [ + "restoreCriteria", + "datasourceInfo" + ], + "allOf": [ + { + "$ref": "#/definitions/RestoreTargetInfoBase" + } + ], + "x-ms-discriminator-value": "ItemLevelRestoreTargetInfo" + }, + "ItemPathBasedRestoreCriteria": { + "type": "object", + "description": "Prefix criteria to be used to during restore", + "properties": { + "itemPath": { + "type": "string", + "description": "The path of the item to be restored. It could be the full path of the item or the path relative to the backup item" + }, + "isPathRelativeToBackupItem": { + "type": "boolean", + "description": "Flag to specify if the path is relative to backup item or full path" + }, + "subItemPathPrefix": { + "type": "array", + "description": "The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified.", + "items": { + "type": "string" + } + }, + "renameTo": { + "type": "string", + "description": "Rename the item to be restored. Restore will rename the itemPath to this new name if the value is specified otherwise the itemPath will be restored as same name." + } + }, + "required": [ + "itemPath", + "isPathRelativeToBackupItem" + ], + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "ItemPathBasedRestoreCriteria" + }, + "JobExtendedInfo": { + "type": "object", + "description": "Extended Information about the job", + "properties": { + "additionalDetails": { + "type": "object", + "description": "Job's Additional Details", + "additionalProperties": { + "type": "string" + } + }, + "backupInstanceState": { + "type": "string", + "description": "State of the Backup Instance", + "readOnly": true + }, + "dataTransferredInBytes": { + "type": "number", + "format": "double", + "description": "Number of bytes transferred", + "readOnly": true + }, + "recoveryDestination": { + "type": "string", + "description": "Destination where restore is done", + "readOnly": true + }, + "sourceRecoverPoint": { + "$ref": "#/definitions/RestoreJobRecoveryPointDetails", + "description": "Details of the Source Recovery Point", + "readOnly": true + }, + "subTasks": { + "type": "array", + "description": "List of Sub Tasks of the job", + "items": { + "$ref": "#/definitions/JobSubTask" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "targetRecoverPoint": { + "$ref": "#/definitions/RestoreJobRecoveryPointDetails", + "description": "Details of the Target Recovery Point", + "readOnly": true + }, + "warningDetails": { + "type": "array", + "description": "A List, detailing the warnings related to the job", + "items": { + "$ref": "#/definitions/UserFacingWarningDetail" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "JobSubTask": { + "type": "object", + "description": "Details of Job's Sub Task", + "properties": { + "additionalDetails": { + "type": "object", + "description": "Additional details of Sub Tasks", + "additionalProperties": { + "type": "string" + } + }, + "taskId": { + "type": "integer", + "format": "int32", + "description": "Task Id of the Sub Task" + }, + "taskName": { + "type": "string", + "description": "Name of the Sub Task" + }, + "taskProgress": { + "type": "string", + "description": "Progress of the Sub Task", + "readOnly": true + }, + "taskStatus": { + "type": "string", + "description": "Status of the Sub Task" + } + }, + "required": [ + "taskId", + "taskName", + "taskStatus" + ] + }, + "KubernetesClusterBackupDatasourceParameters": { + "type": "object", + "description": "Parameters for Kubernetes Cluster Backup Datasource", + "properties": { + "snapshotVolumes": { + "type": "boolean", + "description": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup." + }, + "includedVolumeTypes": { + "type": "array", + "description": "Gets or sets the include volume types property. This property sets the volume types to be included during backup.", + "items": { + "$ref": "#/definitions/AKSVolumeTypes" + } + }, + "includeClusterScopeResources": { + "type": "boolean", + "description": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup." + }, + "includedNamespaces": { + "type": "array", + "description": "Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.", + "items": { + "type": "string" + } + }, + "excludedNamespaces": { + "type": "array", + "description": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.", + "items": { + "type": "string" + } + }, + "includedResourceTypes": { + "type": "array", + "description": "Gets or sets the include resource types property. This property sets the resource types to be included during backup.", + "items": { + "type": "string" + } + }, + "excludedResourceTypes": { + "type": "array", + "description": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.", + "items": { + "type": "string" + } + }, + "labelSelectors": { + "type": "array", + "description": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.", + "items": { + "type": "string" + } + }, + "backupHookReferences": { + "type": "array", + "description": "Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.", + "items": { + "$ref": "#/definitions/NamespacedNameResource" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "snapshotVolumes", + "includeClusterScopeResources" + ], + "allOf": [ + { + "$ref": "#/definitions/BackupDatasourceParameters" + } + ], + "x-ms-discriminator-value": "KubernetesClusterBackupDatasourceParameters" + }, + "KubernetesClusterRestoreCriteria": { + "type": "object", + "description": "kubernetes Cluster Backup target info for restore operation", + "properties": { + "includeClusterScopeResources": { + "type": "boolean", + "description": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore." + }, + "includedNamespaces": { + "type": "array", + "description": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore.", + "items": { + "type": "string" + } + }, + "excludedNamespaces": { + "type": "array", + "description": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.", + "items": { + "type": "string" + } + }, + "includedResourceTypes": { + "type": "array", + "description": "Gets or sets the include resource types property. This property sets the resource types to be included during restore.", + "items": { + "type": "string" + } + }, + "excludedResourceTypes": { + "type": "array", + "description": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore.", + "items": { + "type": "string" + } + }, + "labelSelectors": { + "type": "array", + "description": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore.", + "items": { + "type": "string" + } + }, + "persistentVolumeRestoreMode": { + "$ref": "#/definitions/PersistentVolumeRestoreMode", + "description": "Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored." + }, + "conflictPolicy": { + "$ref": "#/definitions/ExistingResourcePolicy", + "description": "Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore." + }, + "namespaceMappings": { + "type": "object", + "description": "Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore.", + "additionalProperties": { + "type": "string" + } + }, + "restoreHookReferences": { + "type": "array", + "description": "Gets or sets the restore hook references. This property sets the hook reference to be executed during restore.", + "items": { + "$ref": "#/definitions/NamespacedNameResource" + }, + "x-ms-identifiers": [] + }, + "resourceModifierReference": { + "$ref": "#/definitions/NamespacedNameResource", + "description": "Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore." + } + }, + "required": [ + "includeClusterScopeResources" + ], + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "KubernetesClusterRestoreCriteria" + }, + "KubernetesClusterVaultTierRestoreCriteria": { + "type": "object", + "description": "kubernetes Cluster Backup target info for restore operation from vault", + "properties": { + "includeClusterScopeResources": { + "type": "boolean", + "description": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore from vault." + }, + "includedNamespaces": { + "type": "array", + "description": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore from vault.", + "items": { + "type": "string" + } + }, + "excludedNamespaces": { + "type": "array", + "description": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore from vault.", + "items": { + "type": "string" + } + }, + "includedResourceTypes": { + "type": "array", + "description": "Gets or sets the include resource types property. This property sets the resource types to be included during restore from vault.", + "items": { + "type": "string" + } + }, + "excludedResourceTypes": { + "type": "array", + "description": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore from vault.", + "items": { + "type": "string" + } + }, + "labelSelectors": { + "type": "array", + "description": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore from vault.", + "items": { + "type": "string" + } + }, + "persistentVolumeRestoreMode": { + "$ref": "#/definitions/PersistentVolumeRestoreMode", + "description": "Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored from vault." + }, + "conflictPolicy": { + "$ref": "#/definitions/ExistingResourcePolicy", + "description": "Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from vault." + }, + "namespaceMappings": { + "type": "object", + "description": "Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault.", + "additionalProperties": { + "type": "string" + } + }, + "restoreHookReferences": { + "type": "array", + "description": "Gets or sets the restore hook references. This property sets the hook reference to be executed during restore from vault.", + "items": { + "$ref": "#/definitions/NamespacedNameResource" + }, + "x-ms-identifiers": [] + }, + "stagingResourceGroupId": { + "type": "string", + "format": "arm-id", + "description": "Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault." + }, + "stagingStorageAccountId": { + "type": "string", + "format": "arm-id", + "description": "Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "resourceModifierReference": { + "$ref": "#/definitions/NamespacedNameResource", + "description": "Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore." + } + }, + "required": [ + "includeClusterScopeResources" + ], + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "KubernetesClusterVaultTierRestoreCriteria" + }, + "KubernetesPVRestoreCriteria": { + "type": "object", + "description": "Item Level kubernetes persistent volume target info for restore operation", + "properties": { + "name": { + "type": "string", + "description": "Selected persistent volume claim name" + }, + "storageClassName": { + "type": "string", + "description": "Selected storage class name for restore operation" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "KubernetesPVRestoreCriteria" + }, + "KubernetesStorageClassRestoreCriteria": { + "type": "object", + "description": "Item Level kubernetes storage class target info for restore operation", + "properties": { + "selectedStorageClassName": { + "type": "string", + "description": "Selected storage class name" + }, + "provisioner": { + "type": "string", + "description": "Provisioner of the storage class" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "KubernetesStorageClassRestoreCriteria" + }, + "MonitoringSettings": { + "type": "object", + "description": "Monitoring Settings", + "properties": { + "azureMonitorAlertSettings": { + "$ref": "#/definitions/AzureMonitorAlertSettings", + "description": "Settings for Azure Monitor based alerts" + } + } + }, + "Month": { + "type": "string", + "enum": [ + "April", + "August", + "December", + "February", + "January", + "July", + "June", + "March", + "May", + "November", + "October", + "September" + ], + "x-ms-enum": { + "name": "Month", + "modelAsString": true, + "values": [ + { + "name": "April", + "value": "April" + }, + { + "name": "August", + "value": "August" + }, + { + "name": "December", + "value": "December" + }, + { + "name": "February", + "value": "February" + }, + { + "name": "January", + "value": "January" + }, + { + "name": "July", + "value": "July" + }, + { + "name": "June", + "value": "June" + }, + { + "name": "March", + "value": "March" + }, + { + "name": "May", + "value": "May" + }, + { + "name": "November", + "value": "November" + }, + { + "name": "October", + "value": "October" + }, + { + "name": "September", + "value": "September" + } + ] + } + }, + "NamespacedNameResource": { + "type": "object", + "description": "Class to refer resources which contains namespace and name", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource" + }, + "namespace": { + "type": "string", + "description": "Namespace in which the resource exists" + } + } + }, + "OperationExtendedInfo": { + "type": "object", + "description": "Operation Extended Info", + "properties": { + "objectType": { + "type": "string", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types." + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "OperationJobExtendedInfo": { + "type": "object", + "description": "Operation Job Extended Info", + "properties": { + "jobId": { + "type": "string", + "description": "Name or Arm Id of the job created for this operation." + } + }, + "allOf": [ + { + "$ref": "#/definitions/OperationExtendedInfo" + } + ], + "x-ms-discriminator-value": "OperationJobExtendedInfo" + }, + "OperationResource": { + "type": "object", + "description": "Operation Resource", + "properties": { + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time of the operation" + }, + "error": { + "$ref": "#/definitions/Error", + "description": "Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.\nThe full set of optional properties (e.g. inner errors / details) can be found in the \"Error Response\" section." + }, + "id": { + "type": "string", + "description": "It should match what is used to GET the operation result" + }, + "name": { + "type": "string", + "description": "It must match the last segment of the \"id\" field, and will typically be a GUID / system generated value" + }, + "properties": { + "$ref": "#/definitions/OperationExtendedInfo", + "description": "End time of the operation" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the operation" + }, + "status": { + "type": "string" + } + } + }, + "PatchBackupVaultInput": { + "type": "object", + "description": "Backup Vault Contract for Patch Backup Vault API.", + "properties": { + "monitoringSettings": { + "$ref": "#/definitions/MonitoringSettings", + "description": "Monitoring Settings" + }, + "securitySettings": { + "$ref": "#/definitions/SecuritySettings", + "description": "Security Settings" + }, + "featureSettings": { + "$ref": "#/definitions/FeatureSettings", + "description": "Feature Settings" + }, + "costManagementSettings": { + "$ref": "#/definitions/CostManagementSettings", + "description": "Cost Management Settings of the vault" + }, + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + } + } + }, + "PatchResourceGuardInput": { + "type": "object", + "description": "Patch Request content for Microsoft.DataProtection Resource Guard resources", + "properties": { + "tags": { + "type": "object", + "description": "Resource Guard tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PatchResourceRequestInput": { + "type": "object", + "description": "Patch Request content for Microsoft.DataProtection resources", + "properties": { + "identity": { + "$ref": "#/definitions/DppIdentityDetails", + "description": "Input Managed Identity Details" + }, + "properties": { + "$ref": "#/definitions/PatchBackupVaultInput", + "description": "Resource properties." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PersistentVolumeRestoreMode": { + "type": "string", + "description": "Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored.", + "enum": [ + "RestoreWithVolumeData", + "RestoreWithoutVolumeData" + ], + "x-ms-enum": { + "name": "PersistentVolumeRestoreMode", + "modelAsString": true, + "values": [ + { + "name": "RestoreWithVolumeData", + "value": "RestoreWithVolumeData" + }, + { + "name": "RestoreWithoutVolumeData", + "value": "RestoreWithoutVolumeData" + } + ] + } + }, + "PolicyInfo": { + "type": "object", + "description": "Policy Info in backupInstance", + "properties": { + "policyId": { + "type": "string" + }, + "policyVersion": { + "type": "string", + "readOnly": true + }, + "policyParameters": { + "$ref": "#/definitions/PolicyParameters", + "description": "Policy parameters for the backup instance" + } + }, + "required": [ + "policyId" + ] + }, + "PolicyParameters": { + "type": "object", + "description": "Parameters in Policy", + "properties": { + "dataStoreParametersList": { + "type": "array", + "description": "Gets or sets the DataStore Parameters", + "items": { + "$ref": "#/definitions/DataStoreParameters" + }, + "x-ms-identifiers": [] + }, + "backupDatasourceParametersList": { + "type": "array", + "description": "Gets or sets the Backup Data Source Parameters", + "items": { + "$ref": "#/definitions/BackupDatasourceParameters" + }, + "x-ms-identifiers": [] + } + } + }, + "ProtectionStatusDetails": { + "type": "object", + "description": "Protection status details", + "properties": { + "errorDetails": { + "$ref": "#/definitions/UserFacingError", + "description": "Specifies the protection status error of the resource" + }, + "status": { + "$ref": "#/definitions/Status", + "description": "Specifies the protection status of the resource" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the BackupVault resource", + "enum": [ + "Failed", + "Provisioning", + "Succeeded", + "Unknown", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Provisioning", + "value": "Provisioning" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + }, + "readOnly": true + }, + "RangeBasedItemLevelRestoreCriteria": { + "type": "object", + "description": "Item Level target info for restore operation", + "properties": { + "minMatchingValue": { + "type": "string", + "description": "minimum value for range prefix match" + }, + "maxMatchingValue": { + "type": "string", + "description": "maximum value for range prefix match" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ItemLevelRestoreCriteria" + } + ], + "x-ms-discriminator-value": "RangeBasedItemLevelRestoreCriteria" + }, + "RecoveryOption": { + "type": "string", + "description": "Recovery Option", + "enum": [ + "FailIfExists" + ], + "x-ms-enum": { + "name": "RecoveryOption", + "modelAsString": true, + "values": [ + { + "name": "FailIfExists", + "value": "FailIfExists" + } + ] + } + }, + "RecoveryPointCompletionState": { + "type": "string", + "description": "Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., ALL intended items were backed up).", + "enum": [ + "Completed", + "Partial" + ], + "x-ms-enum": { + "name": "RecoveryPointCompletionState", + "modelAsString": true, + "values": [ + { + "name": "Completed", + "value": "Completed" + }, + { + "name": "Partial", + "value": "Partial" + } + ] + } + }, + "RecoveryPointDataStoreDetails": { + "type": "object", + "description": "RecoveryPoint datastore details", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time" + }, + "expiryTime": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + }, + "metaData": { + "type": "string" + }, + "state": { + "type": "string" + }, + "type": { + "type": "string" + }, + "visible": { + "type": "boolean" + }, + "rehydrationExpiryTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "rehydrationStatus": { + "$ref": "#/definitions/RehydrationStatus", + "readOnly": true + } + } + }, + "RehydrationPriority": { + "type": "string", + "description": "Priority to be used for rehydration. Values High or Standard", + "enum": [ + "Invalid", + "High", + "Standard" + ], + "x-ms-enum": { + "name": "RehydrationPriority", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "High", + "value": "High" + }, + { + "name": "Standard", + "value": "Standard" + } + ] + } + }, + "RehydrationStatus": { + "type": "string", + "enum": [ + "CREATE_IN_PROGRESS", + "COMPLETED", + "DELETE_IN_PROGRESS", + "DELETED", + "FAILED" + ], + "x-ms-enum": { + "name": "RehydrationStatus", + "modelAsString": true, + "values": [ + { + "name": "CREATE_IN_PROGRESS", + "value": "CREATE_IN_PROGRESS" + }, + { + "name": "COMPLETED", + "value": "COMPLETED" + }, + { + "name": "DELETE_IN_PROGRESS", + "value": "DELETE_IN_PROGRESS" + }, + { + "name": "DELETED", + "value": "DELETED" + }, + { + "name": "FAILED", + "value": "FAILED" + } + ] + } + }, + "ResourceDeletionInfo": { + "type": "object", + "description": "Deletion info for a tracked resource (Backup Vault)", + "properties": { + "deletionTime": { + "type": "string", + "format": "date-time", + "description": "Specifies time of deletion for the tracked resource (Backup Vault)", + "readOnly": true + }, + "scheduledPurgeTime": { + "type": "string", + "format": "date-time", + "description": "Specifies the scheduled purge time for the tracked resource (Backup Vault)", + "readOnly": true + }, + "deleteActivityId": { + "type": "string", + "description": "Delete activity ID for troubleshooting the deletion of the tracked resource", + "readOnly": true + } + } + }, + "ResourceGuard": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the BackupVault resource", + "readOnly": true + }, + "allowAutoApprovals": { + "type": "boolean", + "description": "This flag indicates whether auto approval is allowed or not.", + "readOnly": true + }, + "resourceGuardOperations": { + "type": "array", + "description": "{readonly} List of operation details those are protected by the ResourceGuard resource", + "items": { + "$ref": "#/definitions/ResourceGuardOperation" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "vaultCriticalOperationExclusionList": { + "type": "array", + "description": "List of critical operations which are not protected by this resourceGuard", + "items": { + "type": "string" + } + }, + "description": { + "type": "string", + "description": "Description about the pre-req steps to perform all the critical operations.", + "readOnly": true + } + } + }, + "ResourceGuardOperation": { + "type": "object", + "description": "This class contains all the details about a critical operation.", + "properties": { + "vaultCriticalOperation": { + "type": "string", + "description": "Name of the critical operation.", + "readOnly": true + }, + "requestResourceType": { + "type": "string", + "description": "Type of resource request.", + "readOnly": true + } + } + }, + "ResourceGuardOperationDetail": { + "type": "object", + "description": "VaultCritical Operation protected by a resource guard", + "properties": { + "vaultCriticalOperation": { + "type": "string" + }, + "defaultResourceRequest": { + "type": "string" + } + } + }, + "ResourceGuardProxyBase": { + "type": "object", + "description": "ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource", + "properties": { + "resourceGuardResourceId": { + "type": "string" + }, + "resourceGuardOperationDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGuardOperationDetail" + }, + "x-ms-identifiers": [] + }, + "lastUpdatedTime": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "ResourceGuardProxyBaseResource": { + "type": "object", + "description": "ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs", + "properties": { + "properties": { + "$ref": "#/definitions/ResourceGuardProxyBase", + "description": "ResourceGuardProxyBaseResource properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ResourceGuardProxyBaseResourceList": { + "type": "object", + "description": "List of ResourceGuardProxyBase resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/ResourceGuardProxyBaseResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppResourceList" + } + ] + }, + "ResourceGuardResource": { + "type": "object", + "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/ResourceGuard", + "description": "ResourceGuardResource properties" + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ResourceGuardResourceList": { + "type": "object", + "description": "List of ResourceGuard resources", + "properties": { + "value": { + "type": "array", + "description": "List of resources.", + "items": { + "$ref": "#/definitions/ResourceGuardResource" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/DppTrackedResourceList" + } + ] + }, + "ResourceMoveDetails": { + "type": "object", + "description": "ResourceMoveDetails will be returned in response to GetResource call from ARM", + "properties": { + "operationId": { + "type": "string", + "description": "CorrelationId of latest ResourceMove operation attempted" + }, + "startTimeUtc": { + "type": "string", + "description": "Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format." + }, + "completionTimeUtc": { + "type": "string", + "description": "Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format." + }, + "sourceResourcePath": { + "type": "string", + "description": "ARM resource path of source resource" + }, + "targetResourcePath": { + "type": "string", + "description": "ARM resource path of target resource used in latest ResourceMove operation" + } + } + }, + "ResourceMoveState": { + "type": "string", + "description": "Resource move state for backup vault", + "enum": [ + "Unknown", + "InProgress", + "PrepareFailed", + "CommitFailed", + "Failed", + "PrepareTimedout", + "CommitTimedout", + "CriticalFailure", + "PartialSuccess", + "MoveSucceeded" + ], + "x-ms-enum": { + "name": "ResourceMoveState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "PrepareFailed", + "value": "PrepareFailed" + }, + { + "name": "CommitFailed", + "value": "CommitFailed" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "PrepareTimedout", + "value": "PrepareTimedout" + }, + { + "name": "CommitTimedout", + "value": "CommitTimedout" + }, + { + "name": "CriticalFailure", + "value": "CriticalFailure" + }, + { + "name": "PartialSuccess", + "value": "PartialSuccess" + }, + { + "name": "MoveSucceeded", + "value": "MoveSucceeded" + } + ] + } + }, + "ResourcePropertiesObjectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing", + "enum": [ + "DefaultResourceProperties" + ], + "x-ms-enum": { + "name": "ResourcePropertiesObjectType", + "modelAsString": true, + "values": [ + { + "name": "DefaultResourceProperties", + "value": "DefaultResourceProperties" + } + ] + } + }, + "RestorableTimeRange": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "description": "Start time for the available restore range" + }, + "endTime": { + "type": "string", + "description": "End time for the available restore range" + }, + "objectType": { + "type": "string" + } + }, + "required": [ + "startTime", + "endTime" + ] + }, + "RestoreFilesTargetInfo": { + "type": "object", + "description": "Class encapsulating restore as files target parameters", + "properties": { + "targetDetails": { + "$ref": "#/definitions/TargetDetails", + "description": "Destination of RestoreAsFiles operation, when destination is not a datasource" + } + }, + "required": [ + "targetDetails" + ], + "allOf": [ + { + "$ref": "#/definitions/RestoreTargetInfoBase" + } + ], + "x-ms-discriminator-value": "RestoreFilesTargetInfo" + }, + "RestoreJobRecoveryPointDetails": { + "type": "object", + "properties": { + "recoveryPointID": { + "type": "string" + }, + "recoveryPointTime": { + "type": "string", + "format": "date-time" + } + } + }, + "RestoreSourceDataStoreType": { + "type": "string", + "description": "Gets or sets the type of the source data store.", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ], + "x-ms-enum": { + "name": "RestoreSourceDataStoreType", + "modelAsString": true, + "values": [ + { + "name": "OperationalStore", + "value": "OperationalStore" + }, + { + "name": "VaultStore", + "value": "VaultStore" + }, + { + "name": "ArchiveStore", + "value": "ArchiveStore" + } + ] + } + }, + "RestoreTargetInfo": { + "type": "object", + "description": "Class encapsulating restore target parameters", + "properties": { + "datasourceInfo": { + "$ref": "#/definitions/Datasource", + "description": "Information of target DS" + }, + "datasourceSetInfo": { + "$ref": "#/definitions/DatasourceSet", + "description": "Information of target DS Set" + }, + "datasourceAuthCredentials": { + "$ref": "#/definitions/AuthCredentials", + "description": "Credentials to use to authenticate with data source provider." + } + }, + "required": [ + "datasourceInfo" + ], + "allOf": [ + { + "$ref": "#/definitions/RestoreTargetInfoBase" + } + ], + "x-ms-discriminator-value": "RestoreTargetInfo" + }, + "RestoreTargetInfoBase": { + "type": "object", + "description": "Base class common to RestoreTargetInfo and RestoreFilesTargetInfo", + "properties": { + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "recoveryOption": { + "$ref": "#/definitions/RecoveryOption", + "description": "Recovery Option" + }, + "restoreLocation": { + "type": "string", + "description": "Target Restore region" + } + }, + "discriminator": "objectType", + "required": [ + "objectType", + "recoveryOption" + ] + }, + "RestoreTargetLocationType": { + "type": "string", + "description": "Denotes the target location where the data will be restored,\nstring value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}", + "enum": [ + "Invalid", + "AzureBlobs", + "AzureFiles" + ], + "x-ms-enum": { + "name": "RestoreTargetLocationType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AzureBlobs", + "value": "AzureBlobs" + }, + { + "name": "AzureFiles", + "value": "AzureFiles" + } + ] + } + }, + "RetentionTag": { + "type": "object", + "description": "Retention tag", + "properties": { + "eTag": { + "type": "string", + "description": "Retention Tag version.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "Retention Tag version.", + "readOnly": true + }, + "tagName": { + "type": "string", + "description": "Retention Tag Name to relate it to retention rule." + } + }, + "required": [ + "tagName" + ] + }, + "ScheduleBasedBackupCriteria": { + "type": "object", + "description": "Schedule based backup criteria", + "properties": { + "absoluteCriteria": { + "type": "array", + "description": "it contains absolute values like \"AllBackup\" / \"FirstOfDay\" / \"FirstOfWeek\" / \"FirstOfMonth\"\nand should be part of AbsoluteMarker enum", + "items": { + "$ref": "#/definitions/AbsoluteMarker" + } + }, + "daysOfMonth": { + "type": "array", + "description": "This is day of the month from 1 to 28 other wise last of month", + "items": { + "$ref": "#/definitions/Day" + }, + "x-ms-identifiers": [] + }, + "daysOfTheWeek": { + "type": "array", + "description": "It should be Sunday/Monday/T..../Saturday", + "items": { + "$ref": "#/definitions/DayOfWeek" + } + }, + "monthsOfYear": { + "type": "array", + "description": "It should be January/February/....../December", + "items": { + "$ref": "#/definitions/Month" + } + }, + "scheduleTimes": { + "type": "array", + "description": "List of schedule times for backup", + "items": { + "type": "string", + "format": "date-time" + } + }, + "weeksOfTheMonth": { + "type": "array", + "description": "It should be First/Second/Third/Fourth/Last", + "items": { + "$ref": "#/definitions/WeekNumber" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/BackupCriteria" + } + ], + "x-ms-discriminator-value": "ScheduleBasedBackupCriteria" + }, + "ScheduleBasedTriggerContext": { + "type": "object", + "description": "Schedule based trigger context", + "properties": { + "schedule": { + "$ref": "#/definitions/BackupSchedule", + "description": "Schedule for this backup" + }, + "taggingCriteria": { + "type": "array", + "description": "List of tags that can be applicable for given schedule.", + "items": { + "$ref": "#/definitions/TaggingCriteria" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "schedule", + "taggingCriteria" + ], + "allOf": [ + { + "$ref": "#/definitions/TriggerContext" + } + ], + "x-ms-discriminator-value": "ScheduleBasedTriggerContext" + }, + "SecretStoreBasedAuthCredentials": { + "type": "object", + "description": "Secret store based authentication credentials.", + "properties": { + "secretStoreResource": { + "$ref": "#/definitions/SecretStoreResource", + "description": "Secret store resource" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuthCredentials" + } + ], + "x-ms-discriminator-value": "SecretStoreBasedAuthCredentials" + }, + "SecretStoreResource": { + "type": "object", + "description": "Class representing a secret store resource.", + "properties": { + "uri": { + "type": "string", + "description": "Uri to get to the resource" + }, + "secretStoreType": { + "$ref": "#/definitions/SecretStoreType", + "description": "Gets or sets the type of secret store" + }, + "value": { + "type": "string", + "description": "Gets or sets value stored in secret store resource" + } + }, + "required": [ + "secretStoreType" + ] + }, + "SecretStoreType": { + "type": "string", + "description": "Gets or sets the type of secret store", + "enum": [ + "Invalid", + "AzureKeyVault" + ], + "x-ms-enum": { + "name": "SecretStoreType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AzureKeyVault", + "value": "AzureKeyVault" + } + ] + } + }, + "SecureScoreLevel": { + "type": "string", + "description": "Secure Score of Backup Vault", + "enum": [ + "None", + "Minimum", + "Adequate", + "Maximum", + "NotSupported" + ], + "x-ms-enum": { + "name": "SecureScoreLevel", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "Adequate", + "value": "Adequate" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "NotSupported", + "value": "NotSupported" + } + ] + } + }, + "SecuritySettings": { + "type": "object", + "description": "Class containing security settings of vault", + "properties": { + "softDeleteSettings": { + "$ref": "#/definitions/SoftDeleteSettings", + "description": "Soft delete related settings" + }, + "immutabilitySettings": { + "$ref": "#/definitions/ImmutabilitySettings", + "description": "Immutability Settings at vault level" + }, + "encryptionSettings": { + "$ref": "#/definitions/encryptionSettings", + "description": "Customer Managed Key details of the resource." + } + } + }, + "SoftDeleteSettings": { + "type": "object", + "description": "Soft delete related settings", + "properties": { + "state": { + "$ref": "#/definitions/SoftDeleteState", + "description": "State of soft delete" + }, + "retentionDurationInDays": { + "type": "number", + "format": "double", + "description": "Soft delete retention duration" + } + } + }, + "SoftDeleteState": { + "type": "string", + "description": "State of soft delete", + "enum": [ + "Off", + "On", + "AlwaysOn" + ], + "x-ms-enum": { + "name": "SoftDeleteState", + "modelAsString": true, + "values": [ + { + "name": "Off", + "value": "Off", + "description": "Soft Delete is turned off for the BackupVault" + }, + { + "name": "On", + "value": "On", + "description": "Soft Delete is enabled for the BackupVault but can be turned off" + }, + { + "name": "AlwaysOn", + "value": "AlwaysOn", + "description": "Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed" + } + ] + } + }, + "SourceDataStoreType": { + "type": "string", + "description": "Gets or sets the type of the source data store.", + "enum": [ + "ArchiveStore", + "SnapshotStore", + "OperationalStore", + "VaultStore" + ], + "x-ms-enum": { + "name": "SourceDataStoreType", + "modelAsString": true, + "values": [ + { + "name": "ArchiveStore", + "value": "ArchiveStore" + }, + { + "name": "SnapshotStore", + "value": "SnapshotStore" + }, + { + "name": "OperationalStore", + "value": "OperationalStore" + }, + { + "name": "VaultStore", + "value": "VaultStore" + } + ] + } + }, + "SourceLifeCycle": { + "type": "object", + "description": "Source LifeCycle", + "properties": { + "deleteAfter": { + "$ref": "#/definitions/DeleteOption", + "description": "Delete Option" + }, + "sourceDataStore": { + "$ref": "#/definitions/DataStoreInfoBase", + "description": "DataStoreInfo base" + }, + "targetDataStoreCopySettings": { + "type": "array", + "items": { + "$ref": "#/definitions/TargetCopySetting" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "deleteAfter", + "sourceDataStore" + ] + }, + "Status": { + "type": "string", + "description": "Specifies the protection status of the resource", + "enum": [ + "ConfiguringProtection", + "ConfiguringProtectionFailed", + "ProtectionConfigured", + "ProtectionStopped", + "SoftDeleted", + "SoftDeleting" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "ConfiguringProtection", + "value": "ConfiguringProtection" + }, + { + "name": "ConfiguringProtectionFailed", + "value": "ConfiguringProtectionFailed" + }, + { + "name": "ProtectionConfigured", + "value": "ProtectionConfigured" + }, + { + "name": "ProtectionStopped", + "value": "ProtectionStopped" + }, + { + "name": "SoftDeleted", + "value": "SoftDeleted" + }, + { + "name": "SoftDeleting", + "value": "SoftDeleting" + } + ] + } + }, + "StopProtectionRequest": { + "type": "object", + "description": "Request body of Stop protection when MUA is Enabled", + "properties": { + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + } + } + }, + "StorageSetting": { + "type": "object", + "description": "Storage setting", + "properties": { + "datastoreType": { + "$ref": "#/definitions/StorageSettingStoreTypes", + "description": "Gets or sets the type of the datastore." + }, + "type": { + "$ref": "#/definitions/StorageSettingTypes", + "description": "Gets or sets the type." + } + } + }, + "StorageSettingStoreTypes": { + "type": "string", + "description": "Gets or sets the type of the datastore.", + "enum": [ + "ArchiveStore", + "OperationalStore", + "VaultStore" + ], + "x-ms-enum": { + "name": "StorageSettingStoreTypes", + "modelAsString": true, + "values": [ + { + "name": "ArchiveStore", + "value": "ArchiveStore" + }, + { + "name": "OperationalStore", + "value": "OperationalStore" + }, + { + "name": "VaultStore", + "value": "VaultStore" + } + ] + } + }, + "StorageSettingTypes": { + "type": "string", + "description": "Gets or sets the type.", + "enum": [ + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "StorageSettingTypes", + "modelAsString": true, + "values": [ + { + "name": "GeoRedundant", + "value": "GeoRedundant" + }, + { + "name": "LocallyRedundant", + "value": "LocallyRedundant" + }, + { + "name": "ZoneRedundant", + "value": "ZoneRedundant" + } + ] + } + }, + "SupportedFeature": { + "type": "object", + "description": "Elements class for feature request", + "properties": { + "featureName": { + "type": "string", + "description": "support feature type." + }, + "supportStatus": { + "$ref": "#/definitions/FeatureSupportStatus", + "description": "feature support status" + }, + "exposureControlledFeatures": { + "type": "array", + "description": "support feature type.", + "items": { + "type": "string" + } + } + } + }, + "SuspendBackupRequest": { + "type": "object", + "description": "Request body of Suspend backup when MUA is Enabled", + "properties": { + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + } + } + }, + "SyncBackupInstanceRequest": { + "type": "object", + "description": "Sync BackupInstance Request", + "properties": { + "syncType": { + "$ref": "#/definitions/SyncType", + "description": "Field indicating sync type e.g. to sync only in case of failure or in all cases" + } + } + }, + "SyncType": { + "type": "string", + "description": "Field indicating sync type e.g. to sync only in case of failure or in all cases", + "enum": [ + "Default", + "ForceResync" + ], + "x-ms-enum": { + "name": "SyncType", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "ForceResync", + "value": "ForceResync" + } + ] + } + }, + "TaggingCriteria": { + "type": "object", + "description": "Tagging criteria", + "properties": { + "criteria": { + "type": "array", + "description": "Criteria which decides whether the tag can be applied to a triggered backup.", + "items": { + "$ref": "#/definitions/BackupCriteria" + }, + "x-ms-identifiers": [] + }, + "isDefault": { + "type": "boolean", + "description": "Specifies if tag is default." + }, + "taggingPriority": { + "type": "integer", + "format": "int64", + "description": "Retention Tag priority." + }, + "tagInfo": { + "$ref": "#/definitions/RetentionTag", + "description": "Retention tag information" + } + }, + "required": [ + "isDefault", + "taggingPriority", + "tagInfo" + ] + }, + "TargetCopySetting": { + "type": "object", + "description": "Target copy settings", + "properties": { + "copyAfter": { + "$ref": "#/definitions/CopyOption", + "description": "It can be CustomCopyOption or ImmediateCopyOption." + }, + "dataStore": { + "$ref": "#/definitions/DataStoreInfoBase", + "description": "Info of target datastore" + } + }, + "required": [ + "copyAfter", + "dataStore" + ] + }, + "TargetDetails": { + "type": "object", + "description": "Class encapsulating target details, used where the destination is not a datasource", + "properties": { + "filePrefix": { + "type": "string", + "description": "Restore operation may create multiple files inside location pointed by Url\nBelow will be the common prefix for all of them" + }, + "restoreTargetLocationType": { + "$ref": "#/definitions/RestoreTargetLocationType", + "description": "Denotes the target location where the data will be restored,\nstring value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}" + }, + "url": { + "type": "string", + "description": "Url denoting the restore destination. It can point to container / file share etc" + }, + "targetResourceArmId": { + "type": "string", + "description": "Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share\nThis is optional if the target subscription can be identified with the URL field. If not\nthen this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states" + } + }, + "required": [ + "filePrefix", + "restoreTargetLocationType", + "url" + ] + }, + "TriggerBackupRequest": { + "type": "object", + "description": "Trigger backup request", + "properties": { + "backupRuleOptions": { + "$ref": "#/definitions/AdHocBackupRuleOptions", + "description": "Name for the Rule of the Policy which needs to be applied for this backup" + } + }, + "required": [ + "backupRuleOptions" + ] + }, + "TriggerContext": { + "type": "object", + "description": "Trigger context", + "properties": { + "objectType": { + "type": "string", + "description": "Type of the specific object - used for deserializing" + } + }, + "discriminator": "objectType", + "required": [ + "objectType" + ] + }, + "UnlockDeleteRequest": { + "type": "object", + "description": "Request body of unlock delete API.", + "properties": { + "resourceGuardOperationRequests": { + "type": "array", + "description": "ResourceGuardOperationRequests on which LAC check will be performed", + "items": { + "type": "string" + } + }, + "resourceToBeDeleted": { + "type": "string" + } + } + }, + "UnlockDeleteResponse": { + "type": "object", + "description": "Response of Unlock Delete API.", + "properties": { + "unlockDeleteExpiryTime": { + "type": "string", + "description": "This is the time when unlock delete privileges will get expired." + } + } + }, + "UserFacingError": { + "type": "object", + "description": "Error object used by layers that have access to localized content, and propagate that to user", + "properties": { + "code": { + "type": "string", + "description": "Unique code for this error" + }, + "details": { + "type": "array", + "description": "Additional related Errors", + "items": { + "$ref": "#/definitions/UserFacingError" + }, + "x-ms-identifiers": [] + }, + "innerError": { + "$ref": "#/definitions/InnerError", + "description": "Inner Error" + }, + "isRetryable": { + "type": "boolean", + "description": "Whether the operation will be retryable or not" + }, + "isUserError": { + "type": "boolean", + "description": "Whether the operation is due to a user error or service error" + }, + "properties": { + "type": "object", + "description": "Any key value pairs that can be injected inside error object", + "additionalProperties": { + "type": "string" + } + }, + "message": { + "type": "string" + }, + "recommendedAction": { + "type": "array", + "description": "RecommendedAction � localized.", + "items": { + "type": "string" + } + }, + "target": { + "type": "string", + "description": "Target of the error." + } + } + }, + "UserFacingWarningDetail": { + "type": "object", + "description": "Warning object used by layers that have access to localized content, and propagate that to user", + "properties": { + "resourceName": { + "type": "string", + "description": "Name of resource for which warning is raised." + }, + "warning": { + "$ref": "#/definitions/UserFacingError", + "description": "Error details for the warning." + } + }, + "required": [ + "warning" + ] + }, + "ValidateCrossRegionRestoreRequestObject": { + "type": "object", + "description": "Cross Region Restore Request Object", + "properties": { + "restoreRequestObject": { + "$ref": "#/definitions/AzureBackupRestoreRequest", + "description": "Gets or sets the restore request object." + }, + "crossRegionRestoreDetails": { + "$ref": "#/definitions/CrossRegionRestoreDetails", + "description": "Cross region restore details." + } + }, + "required": [ + "restoreRequestObject", + "crossRegionRestoreDetails" + ] + }, + "ValidateForBackupRequest": { + "type": "object", + "description": "Validate for backup request", + "properties": { + "backupInstance": { + "$ref": "#/definitions/BackupInstance", + "description": "Backup Instance" + } + }, + "required": [ + "backupInstance" + ] + }, + "ValidateForModifyBackupRequest": { + "type": "object", + "description": "Validate for modify backup request", + "properties": { + "backupInstance": { + "$ref": "#/definitions/BackupInstance", + "description": "Backup Instance" + } + }, + "required": [ + "backupInstance" + ] + }, + "ValidateRestoreRequestObject": { + "type": "object", + "description": "Validate restore request object", + "properties": { + "restoreRequestObject": { + "$ref": "#/definitions/AzureBackupRestoreRequest", + "description": "Gets or sets the restore request object." + } + }, + "required": [ + "restoreRequestObject" + ] + }, + "ValidationType": { + "type": "string", + "description": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.", + "enum": [ + "ShallowValidation", + "DeepValidation" + ], + "x-ms-enum": { + "name": "ValidationType", + "modelAsString": true, + "values": [ + { + "name": "ShallowValidation", + "value": "ShallowValidation" + }, + { + "name": "DeepValidation", + "value": "DeepValidation" + } + ] + } + }, + "WeekNumber": { + "type": "string", + "enum": [ + "First", + "Fourth", + "Last", + "Second", + "Third" + ], + "x-ms-enum": { + "name": "WeekNumber", + "modelAsString": true, + "values": [ + { + "name": "First", + "value": "First" + }, + { + "name": "Fourth", + "value": "Fourth" + }, + { + "name": "Last", + "value": "Last" + }, + { + "name": "Second", + "value": "Second" + }, + { + "name": "Third", + "value": "Third" + } + ] + } + }, + "encryptionSettings": { + "type": "object", + "description": "Customer Managed Key details of the resource.", + "properties": { + "state": { + "$ref": "#/definitions/EncryptionState", + "description": "Encryption state of the Backup Vault." + }, + "keyVaultProperties": { + "$ref": "#/definitions/CmkKeyVaultProperties", + "description": "The properties of the Key Vault which hosts CMK" + }, + "kekIdentity": { + "$ref": "#/definitions/CmkKekIdentity", + "description": "The details of the managed identity used for CMK" + }, + "infrastructureEncryption": { + "$ref": "#/definitions/InfrastructureEncryptionState", + "description": "Enabling/Disabling the Double Encryption state" + } + } + } + }, + "parameters": {} +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/DeleteBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/DeleteBackupInstance.json new file mode 100644 index 000000000000..cb363c77272f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/DeleteBackupInstance.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "204": {} + }, + "operationId": "BackupInstances_Delete", + "title": "Delete BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/FindRestorableTimeRanges.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/FindRestorableTimeRanges.json new file mode 100644 index 000000000000..4cdad6ee5ec5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/FindRestorableTimeRanges.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "zblobbackuptestsa58", + "parameters": { + "endTime": "2021-02-24T00:35:17.6829685Z", + "sourceDataStoreType": "OperationalStore", + "startTime": "2020-10-17T23:28:17.6829685Z" + }, + "resourceGroupName": "Blob-Backup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "ZBlobBackupVaultBVTD3" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges", + "id": "zblobbackuptestsa58", + "properties": { + "objectType": "AzureBackupFindRestorableTimeRangesResponse", + "restorableTimeRanges": [ + { + "endTime": "2021-02-24T00:35:17.0000000Z", + "objectType": "RestorableTimeRange", + "startTime": "2021-02-23T18:33:51.6349708Z" + } + ] + } + } + } + }, + "operationId": "RestorableTimeRanges_Find", + "title": "Find Restorable Time Ranges" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance.json new file mode 100644 index 000000000000..64fbf6887b2d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json new file mode 100644 index 000000000000..77bcb5ddeec3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/backupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "testInstance1", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "ConfiguringProtection" + }, + "provisioningState": "Provisioned" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupvaults/swaggerExample/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupInstances_GetBackupInstanceOperationResult", + "title": "Get BackupInstanceOperationResult" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json new file mode 100644 index 000000000000..369627cee0bf --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupAutoProtection.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsbackupinstance", + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "adlsbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance with ADLSBlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json new file mode 100644 index 000000000000..73f040205a4b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_ADLSBlobBackupDatasourceParameters.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsbackupinstance", + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "adlsbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adls5blbcentraluseuap2", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adls5blbcentraluseuap2", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1", + "container2" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance for ADLS Blob" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json new file mode 100644 index 000000000000..66db2f423193 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetBackupInstance_BlobBackupAutoProtection.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "blobbackupinstance", + "resourceGroupName": "blobrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "blobvault" + }, + "responses": { + "200": { + "body": { + "name": "blobbackupinstance", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/blobbackupinstance", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "Microsoft.Storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "BackupInstances_Get", + "title": "Get BackupInstance with BlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetRecoveryPoint.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetRecoveryPoint.json new file mode 100644 index 000000000000..7fe5f3711338 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/GetRecoveryPoint.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "recoveryPointId": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + } + }, + "operationId": "RecoveryPoints_Get", + "title": "Get Recovery Point" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstances.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstances.json new file mode 100644 index 000000000000..e76d92ba915e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstances.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + } + ] + } + } + }, + "operationId": "BackupInstances_List", + "title": "List BackupInstances in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json new file mode 100644 index 000000000000..534d1358a111 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceId": "subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDiskBI1-testDiskBI1-7664c12f-4d0a-440f-a0dc-b64f708b10e3", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk/providers/Microsoft.DataProtection/backupInstances/testDiskBI1-testDiskBI1-7664c12f-4d0a-440f-a0dc-b64f708b10e3", + "properties": { + "currentProtectionState": "ProtectionConfigured", + "dataSourceInfo": { + "datasourceType": "Microsoft.Compute/disks", + "objectType": "Datasource", + "resourceID": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk", + "resourceLocation": "eastus2euap", + "resourceName": "testDisk", + "resourceType": "Microsoft.Compute/disks", + "resourceUri": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Compute/disks", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk", + "resourceLocation": "eastus2euap", + "resourceName": "testDisk", + "resourceType": "Microsoft.Compute/disks", + "resourceUri": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" + }, + "friendlyName": "testDisk", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/policyRG/providers/Microsoft.DataProtection/backupVaults/jeczrsecy/backupPolicies/disk", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/policyRG" + } + ] + }, + "policyVersion": "" + }, + "protectionStatus": { + "status": "ProtectionConfigured" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "BackupInstancesExtensionRouting_List", + "title": "List BackupInstances associated with an azure resource" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListRecoveryPoints.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListRecoveryPoints.json new file mode 100644 index 000000000000..60378904aa75 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ListRecoveryPoints.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "expiryTime": "2023-03-01T13:00:00Z", + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + }, + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3", + "metaData": "123456" + } + ], + "recoveryPointState": "Completed", + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + ] + } + } + }, + "operationId": "RecoveryPoints_List", + "title": "List Recovery Points in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance.json new file mode 100644 index 000000000000..c39c98b7ad04 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + } + }, + "validationType": "ShallowValidation" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json new file mode 100644 index 000000000000..9535a8adeb34 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupAutoProtection.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsstorageaccount-adlsstorageaccount-3a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + } + } + }, + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "3a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/3a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "3a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/3a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [] + }, + "objectType": "AdlsBlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsstorageaccount-adlsstorageaccount-3a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With ADLSBlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json new file mode 100644 index 000000000000..8bc311d618ff --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ADLSBlobBackupDatasourceParameters.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "adlsstorageaccount-adlsstorageaccount-19a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + } + } + }, + "resourceGroupName": "adlsrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "adlsvault" + }, + "responses": { + "200": { + "body": { + "name": "19a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/19a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [ + "container1" + ], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "19a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/19a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/adlsBlobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "adlsstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Storage/storageAccounts/adlsstorageaccount" + }, + "friendlyName": "adlsstorageaccount\\adlsbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupPolicies/adlspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "containersList": [], + "objectType": "AdlsBlobBackupDatasourceParameters" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/adlsrg/providers/Microsoft.DataProtection/backupVaults/adlsvault/backupInstances/adlsstorageaccount-adlsstorageaccount-19a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With ADLSBlobBackupDatasourceParameters" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json new file mode 100644 index 000000000000..aee99a75dafe --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_BlobBackupAutoProtection.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "blobstorageaccount-blobstorageaccount-2a76f8a-c176-4f7d-819e-95157e2b0071", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + } + } + }, + "resourceGroupName": "blobrg", + "subscriptionId": "54707983-993e-43de-8d94-074451394eda", + "vaultName": "blobvault" + }, + "responses": { + "200": { + "body": { + "name": "2a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/2a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [ + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "temp-" + }, + { + "objectType": "BlobBackupAutoProtectionRule", + "mode": "Exclude", + "type": "Prefix", + "pattern": "test-" + } + ] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "2a76f8a-c176-4f7d-819e-95157e2b0077", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/2a76f8a-c176-4f7d-819e-95157e2b0077", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "Datasource", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.Storage/storageAccounts/blobServices", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount", + "resourceLocation": "centraluseuap", + "resourceName": "blobstorageaccount", + "resourceType": "microsoft.storage/storageAccounts", + "resourceUri": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Storage/storageAccounts/blobstorageaccount" + }, + "friendlyName": "blobstorageaccount\\blobbackupinstance", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupPolicies/blobpolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "autoProtectionSettings": { + "enabled": true, + "objectType": "BlobBackupRuleBasedAutoProtectionSettings", + "rules": [] + }, + "objectType": "BlobBackupDatasourceParametersForAutoProtection" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.Resources/deployments/ConfigureProtection-2097/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Location": "https://management.azure.com/subscriptions/54707983-993e-43de-8d94-074451394eda/resourceGroups/blobrg/providers/Microsoft.DataProtection/backupVaults/blobvault/backupInstances/blobstorageaccount-blobstorageaccount-2a76f8a-c176-4f7d-819e-95157e2b0071/operationStatuses/08584622124860116406?api-version=2022-12-01&t=638749912006014742&c=MIIHhzCCBm-gAwIBAgITfAaTiaklTwdb3CiPmAAABpOJqTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUw", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With BlobBackupAutoProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json new file mode 100644 index 000000000000..cbe98a3718f3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_KubernetesClusterBackupDatasourceParameters.json @@ -0,0 +1,212 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "aksbi", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + } + } + }, + "resourceGroupName": "aksrg", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "aksvault" + }, + "responses": { + "200": { + "body": { + "name": "aksbi", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceType": "Microsoft.ContainerService/managedclusters" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "aksbi", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "Datasource", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceName": "akscluster", + "resourceType": "Microsoft.ContainerService/managedclusters", + "resourceUri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.ContainerService/managedclusters", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster", + "resourceLocation": "eastus2euap", + "resourceType": "Microsoft.ContainerService/managedclusters" + }, + "friendlyName": "aksbi", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupPolicies/akspolicy", + "policyParameters": { + "backupDatasourceParametersList": [ + { + "excludedNamespaces": [ + "kube-system" + ], + "excludedResourceTypes": [ + "v1/Secret" + ], + "includeClusterScopeResources": true, + "includedNamespaces": [ + "test" + ], + "includedResourceTypes": [], + "includedVolumeTypes": [ + "AzureDisk", + "AzureFileShareSMB" + ], + "labelSelectors": [], + "objectType": "KubernetesClusterBackupDatasourceParameters", + "snapshotVolumes": true + } + ], + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg" + } + ] + } + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.DataProtection/backupVaults/aksvault/backupInstances/aksbi/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance With KubernetesClusterBackupDatasourceParameters" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json new file mode 100644 index 000000000000..4ec8cc031454 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/PutBackupInstance_ResourceGuardEnabled.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + } + }, + "resourceGuardOperationRequests": [ + "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default" + ], + "validationType": "ShallowValidation" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioned" + } + } + }, + "201": { + "body": { + "name": "harshitbi2", + "type": "Microsoft.DataProtection/backupVaults/backupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", + "properties": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "OssDB", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "OssDB", + "resourceUri": "" + }, + "friendlyName": "harshitbi2", + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1", + "policyParameters": { + "dataStoreParametersList": [ + { + "dataStoreType": "OperationalStore", + "objectType": "AzureOperationalStoreParameters", + "resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest" + } + ] + }, + "policyVersion": "3.2" + }, + "protectionStatus": { + "status": "NotProtected" + }, + "provisioningState": "Provisioning" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_CreateOrUpdate", + "title": "Create BackupInstance to perform critical operation With MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeBackups.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeBackups.json new file mode 100644 index 000000000000..3309ded54122 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeBackups.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ResumeBackups", + "title": "ResumeBackups" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeProtection.json new file mode 100644 index 000000000000..5346dbd82c89 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ResumeProtection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ResumeProtection", + "title": "ResumeProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection.json new file mode 100644 index 000000000000..eb016c3f1afe --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_StopProtection", + "title": "StopProtection" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json new file mode 100644 index 000000000000..ab08eb6b1019 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/StopProtection_ResourceGuardEnabled.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourceGroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppDisableStopProtectionRequests/default" + ] + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_StopProtection", + "title": "StopProtection with MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json new file mode 100644 index 000000000000..9ffaa9e61174 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackup_ResourceGuardEnabled.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourceGroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppDisableSuspendBackupsRequests/default" + ] + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SuspendBackups", + "title": "SuspendBackups with MUA" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackups.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackups.json new file mode 100644 index 000000000000..a27f38e49a82 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SuspendBackups.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SuspendBackups", + "title": "SuspendBackups" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SyncBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SyncBackupInstance.json new file mode 100644 index 000000000000..b36213884d08 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/SyncBackupInstance.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "parameters": { + "syncType": "Default" + }, + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_SyncBackupInstance", + "title": "Sync BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerBackup.json new file mode 100644 index 000000000000..df653b4f5af8 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerBackup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupRuleOptions": { + "ruleName": "BackupWeekly", + "triggerOption": { + "retentionTagOverride": "yearly" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_AdhocBackup", + "title": "Trigger Adhoc Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRehydrate.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRehydrate.json new file mode 100644 index 000000000000..c2e147314682 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRehydrate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "recoveryPointId": "hardcodedRP", + "rehydrationPriority": "High", + "rehydrationRetentionDuration": "7D" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + }, + "204": {} + }, + "operationId": "BackupInstances_TriggerRehydrate", + "title": "Trigger Rehydrate" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestore.json new file mode 100644 index 000000000000..7f22077eb404 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreAsFiles.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreAsFiles.json new file mode 100644 index 000000000000..340b11204416 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreAsFiles.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "objectType": "RestoreFilesTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia", + "targetDetails": { + "filePrefix": "restoredblob", + "restoreTargetLocationType": "AzureBlobs", + "url": "https://teststorage.blob.core.windows.net/restoretest" + } + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/testInstance1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore As Files" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreWithRehydration.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreWithRehydration.json new file mode 100644 index 000000000000..8113978460dc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/TriggerRestoreWithRehydration.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "objectType": "AzureBackupRestoreWithRehydrationRequest", + "recoveryPointId": "hardcodedRP", + "rehydrationPriority": "High", + "rehydrationRetentionDuration": "7D", + "restoreTargetInfo": { + "datasourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerRestore", + "title": "Trigger Restore With Rehydration" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForBackup.json new file mode 100644 index 000000000000..33874fee5583 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForBackup.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupInstance": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForBackup", + "title": "Validate For Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForModifyBackup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForModifyBackup.json new file mode 100644 index 000000000000..53257adb8a2b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateForModifyBackup.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "backupInstance": { + "dataSourceInfo": { + "datasourceType": "OssDB", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "OssDB", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "friendlyName": "harshitbi2", + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "BackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + } + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-08-01-preview", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-08-01-preview", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForModifyBackup", + "title": "Validate For Modify Backup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateRestore.json new file mode 100644 index 000000000000..3ad6a668084f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/BackupInstanceOperations/ValidateRestore.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "parameters": { + "restoreRequestObject": { + "identityDetails": { + "useSystemAssignedIdentity": false, + "userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami" + }, + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateForRestore", + "title": "Validate Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CheckfeatureSupport.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CheckfeatureSupport.json new file mode 100644 index 000000000000..8b817a6cb2fa --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CheckfeatureSupport.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "WestUS", + "parameters": { + "featureType": "DataSourceType", + "objectType": "FeatureValidationRequest" + }, + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "featureType": "DataSourceType", + "features": [ + { + "exposureControlledFeatures": [], + "featureName": "Microsoft.Storage/storageAccounts/blobServices", + "supportStatus": "PrivatePreview" + }, + { + "exposureControlledFeatures": [], + "featureName": "Microsoft.DBforPostgreSQL/servers/databases", + "supportStatus": "PublicPreview" + } + ], + "objectType": "FeatureValidationResponse" + } + } + }, + "operationId": "DataProtection_CheckFeatureSupport", + "title": "Check Azure Vm Backup Feature Support" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJob.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJob.json new file mode 100644 index 000000000000..06c3b7d9ef29 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJob.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "west us", + "parameters": { + "jobId": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "sourceBackupVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11", + "sourceRegion": "east us" + }, + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "responses": { + "200": { + "body": { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "east us", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "extendedInfo": { + "additionalDetails": { + "PolicyRuleName": "BackupWeekly", + "RetentionTag": "Default", + "TaskId": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9" + }, + "subTasks": [ + { + "taskId": 1, + "taskName": "Trigger Backup", + "taskStatus": "Started" + } + ] + }, + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + } + } + }, + "operationId": "FetchCrossRegionRestoreJob_Get", + "title": "Get Cross Region Restore Job" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJobs.json new file mode 100644 index 000000000000..df7b4e2359d3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchCrossRegionRestoreJobs.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "east us", + "parameters": { + "sourceBackupVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11", + "sourceRegion": "east us" + }, + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "8989416e-7573-4836-8cf1-0e90954f1002", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/8989416e-7573-4836-8cf1-0e90954f1002", + "properties": { + "activityID": "932925c4-3d81-4550-8105-c7f7b0a934c5", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb4", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/3048870f-b1b7-44c4-b078-368da3fd000e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb4", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb4", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy2", + "policyName": "jakavetPolicy2", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T05:00:08.1746833Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "properties": { + "activityID": "b4f32e03-ded0-46fc-9afc-91853878efcd", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb5", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/943c60db-c033-4d93-bb00-66048474e00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb5", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb5", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy3", + "policyName": "jakavetPolicy3", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T18:00:03.6660733Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "43252662-1b43-44fd-a856-0055665cb097", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/43252662-1b43-44fd-a856-0055665cb097", + "properties": { + "activityID": "94052cf1-a47f-4c1b-93e7-79e07b2bd008-Tue Mar 17 2021 11:11:48 GMT+0530 (India Standard Time)-Ibz", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb3", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/0b247869-b8be-4885-b832-8ac4cdf5b00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb3", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb3", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:02:11.9724387", + "endTime": "2021-03-17T11:14:02.5319646Z", + "isUserTriggered": true, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy1", + "policyName": "jakavetPolicy1", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T11:11:50.5595259Z", + "status": "Succeeded", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [ + "" + ], + "vaultName": "BugBashVaultForCCYv11" + } + } + ] + } + } + }, + "operationId": "FetchCrossRegionRestoreJobs_List", + "title": "List Cross Region Restore Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchSecondaryRPs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchSecondaryRPs.json new file mode 100644 index 000000000000..995ef00f08fd --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/FetchSecondaryRPs.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "WestUS", + "parameters": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34", + "sourceRegion": "EastUS" + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "expiryTime": "2023-03-01T13:00:00Z", + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", + "metaData": "123456" + } + ], + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + }, + { + "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", + "properties": { + "friendlyName": "panbha4", + "objectType": "AzureBackupDiscreteRecoveryPoint", + "recoveryPointDataStoresDetails": [ + { + "type": "Snapshot", + "creationTime": "2019-03-01T13:00:00Z", + "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2", + "metaData": "123456" + }, + { + "type": "BackupStorage", + "creationTime": "2019-03-01T13:00:00Z", + "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3", + "metaData": "123456" + } + ], + "recoveryPointTime": "2019-03-01T13:00:00Z", + "recoveryPointType": "Full" + } + } + ] + } + } + }, + "operationId": "FetchSecondaryRecoveryPoints_List", + "title": "Fetch SecondaryRPs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/TriggerCrossRegionRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/TriggerCrossRegionRestore.json new file mode 100644 index 000000000000..078c599705c3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/TriggerCrossRegionRestore.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "location": "EastAsia", + "parameters": { + "crossRegionRestoreDetails": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/BackupInstances/harshitbi1", + "sourceRegion": "east asia" + }, + "restoreRequestObject": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_TriggerCrossRegionRestore", + "title": "Trigger Cross Region Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/ValidateCrossRegionRestore.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/ValidateCrossRegionRestore.json new file mode 100644 index 000000000000..788acf9d0277 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/CrossRegionRestore/ValidateCrossRegionRestore.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "location": "EastAsia", + "parameters": { + "crossRegionRestoreDetails": { + "sourceBackupInstanceId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/BackupInstances/harshitbi1", + "sourceRegion": "east asia" + }, + "restoreRequestObject": { + "objectType": "AzureBackupRecoveryPointBasedRestoreRequest", + "recoveryPointId": "hardcodedRP", + "restoreTargetInfo": { + "datasourceAuthCredentials": { + "objectType": "SecretStoreBasedAuthCredentials", + "secretStoreResource": { + "secretStoreType": "AzureKeyVault", + "uri": "https://samplevault.vault.azure.net/secrets/credentials" + } + }, + "datasourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb", + "resourceLocation": "", + "resourceName": "targetdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "datasourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "objectType": "RestoreTargetInfo", + "recoveryOption": "FailIfExists", + "restoreLocation": "southeastasia" + }, + "sourceDataStoreType": "VaultStore", + "sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb" + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupInstances_ValidateCrossRegionRestore", + "title": "Validate Cross Region Restore" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json new file mode 100644 index 000000000000..1cdc8ead02f4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testInstance1", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/deletedBackupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/deletedBackupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "deletionInfo": { + "billingEndDate": "2022-05-06T00:00:36.6660445Z", + "deleteActivityID": "1e9ec790-d198-4efb-bbd7-e4669d5351a4", + "deletionTime": "2022-05-04T00:00:36.6660445Z", + "scheduledPurgeTime": "2022-05-20T00:00:36.6660445Z" + }, + "friendlyName": "testInstance1", + "objectType": "DeletedBackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + }, + "protectionStatus": { + "status": "SoftDeleted" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "DeletedBackupInstances_Get", + "title": "Get DeletedBackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json new file mode 100644 index 000000000000..02209365c01f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PratikPrivatePreviewVault1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testInstance1", + "type": "Microsoft.DataProtection/backupVaults/deletedBackupInstances", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/deletedBackupInstances/testInstance1", + "properties": { + "dataSourceInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "Datasource", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", + "resourceLocation": "", + "resourceName": "testdb", + "resourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "resourceUri": "" + }, + "dataSourceSetInfo": { + "datasourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "objectType": "DatasourceSet", + "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", + "resourceLocation": "", + "resourceName": "viveksipgtest", + "resourceType": "Microsoft.DBforPostgreSQL/servers", + "resourceUri": "" + }, + "deletionInfo": { + "billingEndDate": "2022-05-06T00:00:36.6660445Z", + "deleteActivityID": "1e9ec790-d198-4efb-bbd7-e4669d5351a4", + "deletionTime": "2022-05-04T00:00:36.6660445Z", + "scheduledPurgeTime": "2022-05-20T00:00:36.6660445Z" + }, + "friendlyName": "testInstance1", + "objectType": "DeletedBackupInstance", + "policyInfo": { + "policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1" + }, + "protectionStatus": { + "status": "SoftDeleted" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DeletedBackupInstances_List", + "title": "List DeletedBackupInstances in a Vault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json new file mode 100644 index 000000000000..6295b8a4f764 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupInstanceName": "testbi", + "resourceGroupName": "testrg", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "testvault" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupVaults/testvault/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/testrg/providers/Microsoft.DataProtection/backupInstances/testbi/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "DeletedBackupInstances_Undelete", + "title": "Undelete Deleted BackupInstance" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_Get.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_Get.json new file mode 100644 index 000000000000..e351cdd92c37 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_Get.json @@ -0,0 +1,63 @@ +{ + "title": "Get a deleted backup vault", + "operationId": "DeletedBackupVaults_Get", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus", + "deletedVaultName": "deleted-vault-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/westus/deletedBackupVaults/deleted-vault-01", + "name": "deleted-vault-01", + "type": "Microsoft.DataProtection/deletedBackupVaults", + "properties": { + "originalBackupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "originalBackupVaultName": "sample-vault", + "originalBackupVaultResourcePath": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "resourceDeletionInfo": { + "deletionTime": "2025-09-18T10:00:00.000Z", + "scheduledPurgeTime": "2025-10-18T10:00:00.000Z", + "deleteActivityId": "00000000-0000-0000-0000-000000000000" + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "securitySettings": { + "softDeleteSettings": { + "state": "On", + "retentionDurationInDays": 14.0 + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "isVaultProtectedByResourceGuard": false, + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Disabled" + } + }, + "secureScore": "Maximum", + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_ListByLocation.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_ListByLocation.json new file mode 100644 index 000000000000..bfd3d7d04ddc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/DeletedBackupVaults_ListByLocation.json @@ -0,0 +1,66 @@ +{ + "title": "List deleted backup vaults by location", + "operationId": "DeletedBackupVaults_ListByLocation", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/westus/deletedBackupVaults/deleted-vault-01", + "name": "deleted-vault-01", + "type": "Microsoft.DataProtection/deletedBackupVaults", + "properties": { + "originalBackupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "originalBackupVaultName": "sample-vault", + "originalBackupVaultResourcePath": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.DataProtection/backupVaults/sample-vault", + "resourceDeletionInfo": { + "deletionTime": "2025-09-18T10:00:00.000Z", + "scheduledPurgeTime": "2025-10-18T10:00:00.000Z", + "deleteActivityId": "00000000-0000-0000-0000-000000000000" + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "securitySettings": { + "softDeleteSettings": { + "state": "On", + "retentionDurationInDays": 14.0 + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "isVaultProtectedByResourceGuard": false, + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Disabled" + } + }, + "secureScore": "Maximum", + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + ] + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationResult.json new file mode 100644 index 000000000000..0bc0d20dff59 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationResult.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "location": "WestUS", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "objectType": "OperationJobExtendedInfo" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/providers/Microsoft.DataProtection/locations/westus/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-01-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-01-01", + "Retry-After": "60" + } + } + }, + "operationId": "OperationResult_Get", + "title": "Get OperationResult" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatus.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatus.json new file mode 100644 index 000000000000..1ebb1fe9ced5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatus.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "location": "WestUS", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/providers/Microsoft.DataProtection/locations/WestUS/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatus_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusRGContext.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusRGContext.json new file mode 100644 index 000000000000..86162168322b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusRGContext.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatusResourceGroupContext_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusVaultContext.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusVaultContext.json new file mode 100644 index 000000000000..3cf8c36fe0ed --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/GetOperationStatusVaultContext.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "operationId": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "endTime": "2019-11-20T09:49:46Z", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/MjkxOTMyODMtYTE3My00YzJjLTg5NjctN2E4MDIxNDA3NjA2OzdjNGE2ZWRjLWJjMmItNDRkYi1hYzMzLWY1YzEwNzk5Y2EyOA==", + "startTime": "2019-11-20T09:49:44.0478496Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatusBackupVaultContext_Get", + "title": "Get OperationStatus" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetExportJobsOperationResult.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetExportJobsOperationResult.json new file mode 100644 index 000000000000..c4b06f93bdd2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetExportJobsOperationResult.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "operationId": "00000000-0000-0000-0000-000000000000", + "api-version": "2026-06-01", + "resourceGroupName": "SwaggerTestRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vaultName": "NetSDKTestRsVault" + }, + "responses": { + "200": { + "body": { + "blobSasKey": "someKey", + "blobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreport00000000-0000-0000-0000-000000000000", + "excelFileBlobSasKey": "someKey", + "excelFileBlobUrl": "https://azureblob.blob.core.windows.net/reportcontainer/exportjobsreport00000000-0000-0000-0000-000000000000_ExcelFile.xlsx" + }, + "headers": {} + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.DataProtection/backupVaults/NetSDKTestRsVault/backupJobs/operations/00000000-0000-0000-0000-000000000000?api-version=2026-06-01", + "Retry-After": 60 + } + } + }, + "operationId": "ExportJobsOperationResult_Get", + "title": "Get Export Jobs Operation Result" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetJob.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetJob.json new file mode 100644 index 000000000000..49fcc457516f --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/GetJob.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "jobId": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "BugBashVaultForCCYv11" + }, + "responses": { + "200": { + "body": { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "extendedInfo": { + "additionalDetails": { + "PolicyRuleName": "BackupWeekly", + "RetentionTag": "Default", + "TaskId": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9" + }, + "subTasks": [ + { + "taskId": 1, + "taskName": "Trigger Backup", + "taskStatus": "Started" + } + ] + }, + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + } + } + }, + "operationId": "Jobs_Get", + "title": "Get Job" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/ListJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/ListJobs.json new file mode 100644 index 000000000000..7a48018203e3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/ListJobs.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "BugBash1", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "vaultName": "BugBashVaultForCCYv11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "8989416e-7573-4836-8cf1-0e90954f1002", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/8989416e-7573-4836-8cf1-0e90954f1002", + "properties": { + "activityID": "932925c4-3d81-4550-8105-c7f7b0a934c5", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb4", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/3048870f-b1b7-44c4-b078-368da3fd000e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb4", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb4", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy2", + "policyName": "jakavetPolicy2", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T05:00:08.1746833Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/ad218c05-242a-47c2-b7b7-c16bd0f8870c", + "properties": { + "activityID": "b4f32e03-ded0-46fc-9afc-91853878efcd", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb5", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/943c60db-c033-4d93-bb00-66048474e00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb5", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb5", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy3", + "policyName": "jakavetPolicy3", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-16T18:00:03.6660733Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/3c60cb49-63e8-4b21-b9bd-26277b3fdfae", + "properties": { + "activityID": "c4344fb4-7c11-43a4-8307-7ae7c7fb09b9", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb2", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/28460a9d-707a-45f3-ace6-b16284c2900e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb2", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb2", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:00:00", + "isUserTriggered": false, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetdailypolicy", + "policyName": "jakavetdailypolicy", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T03:00:03.7604146Z", + "status": "Started", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [], + "vaultName": "BugBashVaultForCCYv11" + } + }, + { + "name": "43252662-1b43-44fd-a856-0055665cb097", + "type": "Microsoft.DataProtection/Backupvaults/backupJobs", + "id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/Backupvaults/BugBashVaultForCCYv11/backupJobs/43252662-1b43-44fd-a856-0055665cb097", + "properties": { + "activityID": "94052cf1-a47f-4c1b-93e7-79e07b2bd008-Tue Mar 17 2021 11:11:48 GMT+0530 (India Standard Time)-Ibz", + "backupInstanceFriendlyName": "mabtestingccybasicv11\\bugbashdb3", + "backupInstanceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupInstances/0b247869-b8be-4885-b832-8ac4cdf5b00e", + "dataSourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingCcy/providers/Microsoft.DBforPostgreSQL/servers/mabtestingccybasicv11/databases/bugbashdb3", + "dataSourceLocation": "centraluseuap", + "dataSourceName": "bugbashdb3", + "dataSourceSetName": "mabtestingccybasicv11", + "dataSourceType": "Microsoft.DBforPostgreSQL/servers/databases", + "duration": "00:02:11.9724387", + "endTime": "2021-03-17T11:14:02.5319646Z", + "isUserTriggered": true, + "operation": "Backup", + "operationCategory": "Backup", + "policyId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BugBash1/providers/Microsoft.DataProtection/backupVaults/BugBashVaultForCCYv11/backupPolicies/jakavetPolicy1", + "policyName": "jakavetPolicy1", + "progressEnabled": false, + "sourceResourceGroup": "DppPostgresTestingCcy", + "sourceSubscriptionID": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "startTime": "2021-03-17T11:11:50.5595259Z", + "status": "Succeeded", + "subscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "supportedActions": [ + "" + ], + "vaultName": "BugBashVaultForCCYv11" + } + } + ] + } + } + }, + "operationId": "Jobs_List", + "title": "Get Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/TriggerExportJobs.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/TriggerExportJobs.json new file mode 100644 index 000000000000..95d43e041de0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/JobCRUD/TriggerExportJobs.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SwaggerTestRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vaultName": "NetSDKTestRsVault" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.DataProtection/backupVaults/NetSDKTestRsVault/backupJobs/operations/00000000-0000-0000-0000-000000000000?api-version=2026-06-01", + "Retry-After": 60 + } + }, + "204": {} + }, + "operationId": "ExportJobs_Trigger", + "title": "Trigger Export Jobs" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/Operations/List.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/Operations/List.json new file mode 100644 index 000000000000..8fe33265699a --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/Operations/List.json @@ -0,0 +1,535 @@ +{ + "parameters": { + "api-version": "2026-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DataProtection/locations/getBackupStatus/action", + "display": { + "description": "Check Backup Status for Recovery Services Vaults", + "operation": "Check Backup Status for Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/write", + "display": { + "description": "Creates a Backup Instance", + "operation": "Create a Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/delete", + "display": { + "description": "Deletes the Backup Instance", + "operation": "Delete Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/read", + "display": { + "description": "Returns details of the Backup Instance", + "operation": "Get Backup Instance Details", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/read", + "display": { + "description": "Returns all Backup Instances", + "operation": "Get Backup Instances", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/backup/action", + "display": { + "description": "Performs Backup on the Backup Instance", + "operation": "Backup Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/sync/action", + "display": { + "description": "Sync operation retries last failed operation on backup instance to bring it to a valid state.", + "operation": "Sync Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/operationResults/read", + "display": { + "description": "Returns Backup Operation Result for Backup Vault.", + "operation": "Get Backup Operation Result", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action", + "display": { + "description": "Stop Protection operation stops both backup and retention schedules of backup instance. Existing data will be retained forever.", + "operation": "Stop Protection of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action", + "display": { + "description": "Suspend Backups operation stops only backups of backup instance. Retention activities will continue and hence data will be ratained as per policy.", + "operation": "Suspend Backups of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/resumeProtection/action", + "display": { + "description": "Resume protection of a ProtectionStopped BI.", + "operation": "Resume Protection of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/resumeBackups/action", + "display": { + "description": "Resume Backups for a BackupsSuspended BI.", + "operation": "Resume Backups of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/validateRestore/action", + "display": { + "description": "Validates for Restore of the Backup Instance", + "operation": "Validate for Restore of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/restore/action", + "display": { + "description": "Triggers restore on the Backup Instance", + "operation": "Restore Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Backup Instance" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/write", + "display": { + "description": "Creates Backup Policy", + "operation": "Create Backup Policy", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/delete", + "display": { + "description": "Deletes the Backup Policy", + "operation": "Delete Backup Policy", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/read", + "display": { + "description": "Returns details of the Backup Policy", + "operation": "Get Backup Policy details", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupPolicies/read", + "display": { + "description": "Returns all Backup Policies", + "operation": "Get Backup Policies", + "provider": "Microsoft.DataProtection", + "resource": "Backup Policies" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read", + "display": { + "description": "Get the list of ResourceGuard proxies for a resource", + "operation": "Get the list of ResourceGuard proxies for a resource", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read", + "display": { + "description": "Get ResourceGuard proxy operation gets an object representing the Azure resource of type 'ResourceGuard proxy'", + "operation": "Get ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/write", + "display": { + "description": "Create ResourceGuard proxy operation creates an Azure resource of type 'ResourceGuard Proxy'", + "operation": "Create ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete", + "display": { + "description": "The Delete ResourceGuard proxy operation deletes the specified Azure resource of type 'ResourceGuard proxy'", + "operation": "Delete ResourceGuard proxy", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/unlockDelete/action", + "display": { + "description": "Unlock delete ResourceGuard proxy operation unlocks the next delete critical operation", + "operation": "Unlock delete ResourceGuard proxy operation unlocks the next delete critical operation", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guard Proxy" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read", + "display": { + "description": "Returns details of the Recovery Point", + "operation": "Get Recovery Point Details", + "provider": "Microsoft.DataProtection", + "resource": "Recovery Points" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read", + "display": { + "description": "Returns all Recovery Points", + "operation": "Get Recovery Points", + "provider": "Microsoft.DataProtection", + "resource": "Recovery Points" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges/action", + "display": { + "description": "Finds Restorable Time Ranges", + "operation": "Find Restorable Time Ranges", + "provider": "Microsoft.DataProtection", + "resource": "Restorable Time Ranges" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/write", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/delete", + "display": { + "description": "Create BackupVault operation creates an Azure resource of type 'Backup Vault'", + "operation": "Create Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/operationResults/read", + "display": { + "description": "Gets Operation Result of a Patch Operation for a Backup Vault", + "operation": "Get Operation Result of a Patch Operation for a Backup Vault", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/checkNameAvailability/action", + "display": { + "description": "Checks if the requested BackupVault Name is Available", + "operation": "Check if the requested BackupVault Name is Available", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Gets list of Backup Vaults in a Resource Group", + "operation": "Get Backup Vaults in a Resource Group", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/read", + "display": { + "description": "Gets list of Backup Vaults in a Subscription", + "operation": "Get Backup Vaults in a Subscription", + "provider": "Microsoft.DataProtection", + "resource": "Backup Vaults" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write", + "display": { + "description": "Create ResourceGuard operation creates an Azure resource of type 'ResourceGuard'", + "operation": "Create ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read", + "display": { + "description": "The Get ResourceGuard operation gets an object representing the Azure resource of type 'ResourceGuard'", + "operation": "Get ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/delete", + "display": { + "description": "The Delete ResourceGuard operation deletes the specified Azure resource of type 'ResourceGuard'", + "operation": "Delete ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read", + "display": { + "description": "Gets list of ResourceGuards in a Resource Group", + "operation": "Get ResourceGuards in a Resource Group", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/providers/resourceGuards/read", + "display": { + "description": "Gets list of ResourceGuards in a Subscription", + "operation": "Get ResourceGuards in a Subscription", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write", + "display": { + "description": "Update ResouceGuard operation updates an Azure resource of type 'ResourceGuard'", + "operation": "Update ResourceGuard", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read", + "display": { + "description": "Gets ResourceGuard operation request info", + "operation": "Get ResourceGuard operation request info", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read", + "display": { + "description": "Gets ResourceGuard default operation request info", + "operation": "Get ResourceGuard default operation request info", + "provider": "Microsoft.DataProtection", + "resource": "Resource Guards" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/providers/locations/checkFeatureSupport/action", + "display": { + "description": "Validates if a feature is supported", + "operation": "Validate if a feature is supported", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/subscriptions/resourceGroups/providers/operationStatus/read", + "display": { + "description": "Returns Backup Operation Status for Backup Vault.", + "operation": "Get Backup Operation Status", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Status" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/locations/operationResults/read", + "display": { + "description": "Returns Backup Operation Result for Backup Vault.", + "operation": "Get Backup Operation Result", + "provider": "Microsoft.DataProtection", + "resource": "Backup Operation Results" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/validateForBackup/action", + "display": { + "description": "Validates for backup of Backup Instance", + "operation": "Validate for backup of Backup Instance", + "provider": "Microsoft.DataProtection", + "resource": "Validate Backup" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/backupVaults/backupJobs/read", + "display": { + "description": "Get Jobs list", + "operation": "Backup Jobs", + "provider": "Microsoft.DataProtection", + "resource": "Backup Jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.RecoveryServices/Vaults/backupJobs/read", + "display": { + "description": "Get Job details", + "operation": "Backup Job Object", + "provider": "Microsoft.DataProtection", + "resource": "Backup Jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/register/action", + "display": { + "description": "Registers subscription for given Resource Provider", + "operation": "Register Resource Provider", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/unregister/action", + "display": { + "description": "Unregisters subscription for given Resource Provider", + "operation": "Unregister Resource Provider", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataProtection/operations/read", + "display": { + "description": "Operation returns the list of Operations for a Resource Provider", + "operation": "List of Operations", + "provider": "Microsoft.DataProtection", + "resource": "Resource Provider Operation" + }, + "origin": "user" + } + ] + } + } + }, + "operationId": "DataProtectionOperations_List", + "title": "Returns the list of supported REST operations." +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/CreateOrUpdateBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/CreateOrUpdateBackupPolicy.json new file mode 100644 index 000000000000..76e174b232e2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/CreateOrUpdateBackupPolicy.json @@ -0,0 +1,202 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "parameters": { + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + }, + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + } + }, + "operationId": "BackupPolicies_CreateOrUpdate", + "title": "CreateOrUpdate BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/DeleteBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/DeleteBackupPolicy.json new file mode 100644 index 000000000000..fe83b29b4859 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/DeleteBackupPolicy.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "Delete BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/GetBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/GetBackupPolicy.json new file mode 100644 index 000000000000..3af8588bc10b --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/GetBackupPolicy.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "backupPolicyName": "OSSDBPolicy", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Get BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/ListBackupPolicy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/ListBackupPolicy.json new file mode 100644 index 000000000000..42ccf3838869 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PolicyCRUD/ListBackupPolicy.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "000pikumar", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "PrivatePreviewVault" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "OSSDBPolicy", + "type": "Microsoft.DataProtection/backupVaults/backupPolicies", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault/backupPolicies/OSSDBPolicy", + "properties": { + "datasourceTypes": [ + "OssDB" + ], + "objectType": "BackupPolicy", + "policyRules": [ + { + "name": "BackupWeekly", + "backupParameters": { + "backupType": "Full", + "objectType": "AzureBackupParams" + }, + "dataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + }, + "objectType": "AzureBackupRule", + "trigger": { + "objectType": "ScheduleBasedTriggerContext", + "schedule": { + "repeatingTimeIntervals": [ + "R/2019-11-20T08:00:00-08:00/P1W" + ] + }, + "taggingCriteria": [ + { + "isDefault": true, + "tagInfo": { + "id": "Default_", + "tagName": "Default" + }, + "taggingPriority": 99 + }, + { + "criteria": [ + { + "daysOfTheWeek": [ + "Sunday" + ], + "objectType": "ScheduleBasedBackupCriteria", + "scheduleTimes": [ + "2019-03-01T13:00:00Z" + ] + } + ], + "isDefault": false, + "tagInfo": { + "id": "Weekly_", + "tagName": "Weekly" + }, + "taggingPriority": 20 + } + ] + } + }, + { + "name": "Default", + "isDefault": true, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P1W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + }, + { + "name": "Weekly", + "isDefault": false, + "lifecycles": [ + { + "deleteAfter": { + "duration": "P12W", + "objectType": "AbsoluteDeleteOption" + }, + "sourceDataStore": { + "dataStoreType": "VaultStore", + "objectType": "DataStoreInfoBase" + } + } + ], + "objectType": "AzureRetentionRule" + } + ] + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "List BackupPolicy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PutBackupVaultWithUndelete.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PutBackupVaultWithUndelete.json new file mode 100644 index 000000000000..c9b8da5ae826 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/PutBackupVaultWithUndelete.json @@ -0,0 +1,143 @@ +{ + "title": "Restore a soft-deleted backup vault", + "operationId": "BackupVaults_CreateOrUpdate", + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "SampleResourceGroup", + "vaultName": "swaggerExample", + "x-ms-deleted-vault-id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataProtection/locations/WestUS/deletedVaults/swaggerExample", + "parameters": { + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + } + }, + "tags": { + "key1": "val1" + } + } + }, + "responses": { + "200": { + "body": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults", + "properties": { + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "secureScore": "Maximum", + "isVaultProtectedByResourceGuard": false, + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + }, + "201": { + "body": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults", + "properties": { + "provisioningState": "Succeeded", + "resourceMoveState": "Unknown", + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ], + "featureSettings": { + "crossSubscriptionRestoreSettings": { + "state": "Disabled" + }, + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "secureScore": "Maximum", + "isVaultProtectedByResourceGuard": false, + "resourceGuardOperationRequests": [], + "replicatedRegions": [] + } + } + } + } +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/DeleteResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/DeleteResourceGuard.json new file mode 100644 index 000000000000..c3575853d8a3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/DeleteResourceGuard.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ResourceGuards_Delete", + "title": "Delete ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json new file mode 100644 index 000000000000..1a843a3fd325 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/getBackupSecurityPINRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultBackupSecurityPINRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json new file mode 100644 index 000000000000..bc9f566ce9ed --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteProtectedItemRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDeleteProtectedItemRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json new file mode 100644 index 000000000000..6e171b6b3b8c --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteResourceGuardProxyRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDeleteResourceGuardProxyRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json new file mode 100644 index 000000000000..2785fd5315cc --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/disableSoftDeleteRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultDisableSoftDeleteRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json new file mode 100644 index 000000000000..b0f1e28a66d2 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectedItemRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultUpdateProtectedItemRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json new file mode 100644 index 000000000000..9e862b2bc2c5 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "requestName": "default", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectionPolicyRequests/default" + } + } + }, + "operationId": "ResourceGuards_GetDefaultUpdateProtectionPolicyRequestsObject", + "title": "Get DefaultOperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuard.json new file mode 100644 index 000000000000..5d989d39e429 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuard.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "ResourceGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Get", + "title": "Get ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json new file mode 100644 index 000000000000..78768a0d63f4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + ] + } + } + }, + "operationId": "ResourceGuards_GetResourcesInResourceGroup", + "title": "Get ResourceGuards in ResourceGroup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json new file mode 100644 index 000000000000..42a5818333bb --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + ] + } + } + }, + "operationId": "ResourceGuards_GetResourcesInSubscription", + "title": "Get ResourceGuards in Subscription" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListBackupSecurityPINRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListBackupSecurityPINRequests.json new file mode 100644 index 000000000000..b473031fcf45 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListBackupSecurityPINRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/getBackupSecurityPINRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetBackupSecurityPINRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json new file mode 100644 index 000000000000..52bc86496676 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteProtectedItemRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDeleteProtectedItemRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json new file mode 100644 index 000000000000..bad682fb06ba --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/deleteResourceGuardProxyRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDeleteResourceGuardProxyRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json new file mode 100644 index 000000000000..1f03f837e567 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/disableSoftDeleteRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetDisableSoftDeleteRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json new file mode 100644 index 000000000000..ad4f533c24f3 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectedItemRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetUpdateProtectedItemRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json new file mode 100644 index 000000000000..a63aa32b2f59 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/resourceGuards/swaggerExample/updateProtectionPolicyRequests/default" + } + ] + } + } + }, + "operationId": "ResourceGuards_GetUpdateProtectionPolicyRequestsObjects", + "title": "List OperationsRequestObject" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PatchResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PatchResourceGuard.json new file mode 100644 index 000000000000..928ae7bdecf8 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PatchResourceGuard.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Patch", + "title": "Patch ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PutResourceGuard.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PutResourceGuard.json new file mode 100644 index 000000000000..4f470050691d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardCRUD/PutResourceGuard.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardsName": "swaggerExample", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + }, + "201": { + "body": { + "name": "VaultGuardTestNew", + "type": "Microsoft.DataProtection/resourceGuards", + "id": "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew", + "location": "eastus", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "allowAutoApprovals": true, + "provisioningState": "Succeeded", + "resourceGuardOperations": [ + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete" + }, + { + "requestResourceType": "Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests", + "vaultCriticalOperation": "Microsoft.RecoveryServices/vaults/backupconfig/write" + } + ], + "vaultCriticalOperationExclusionList": [] + }, + "tags": { + "TestKey": "TestValue" + } + } + } + }, + "operationId": "ResourceGuards_Put", + "title": "Create ResourceGuard" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json new file mode 100644 index 000000000000..aa6bda05035a --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "DppResourceGuardProxy_Delete", + "title": "Delete ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json new file mode 100644 index 000000000000..29ff4cc98e95 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + } + }, + "operationId": "DppResourceGuardProxy_Get", + "title": "Get ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json new file mode 100644 index 000000000000..43c485ff4c3e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + ] + } + } + }, + "operationId": "DppResourceGuardProxy_List", + "title": "Get ResourceGuardProxies" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json new file mode 100644 index 000000000000..5068cb3db51d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "properties": { + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies", + "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample", + "properties": { + "description": "Please take JIT access before performing any of the critical operation", + "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z", + "resourceGuardOperationDetails": [ + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete" + }, + { + "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default", + "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete" + } + ], + "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource" + } + } + } + }, + "operationId": "DppResourceGuardProxy_CreateOrUpdate", + "title": "Create ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json new file mode 100644 index 000000000000..d49e7ec5112e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "resourceGuardOperationRequests": [ + "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default" + ], + "resourceToBeDeleted": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupInstances/TestBI9779f4de" + }, + "resourceGroupName": "SampleResourceGroup", + "resourceGuardProxyName": "swaggerExample", + "subscriptionId": "5e13b949-1218-4d18-8b99-7e12155ec4f7", + "vaultName": "sampleVault" + }, + "responses": { + "200": { + "body": { + "unlockDeleteExpiryTime": "2022-09-16T12:50:10.7039695Z" + } + } + }, + "operationId": "DppResourceGuardProxy_UnlockDelete", + "title": "UnlockDelete ResourceGuardProxy" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/CheckBackupVaultsNameAvailability.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/CheckBackupVaultsNameAvailability.json new file mode 100644 index 000000000000..ac9f6168abde --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/CheckBackupVaultsNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "location": "westus", + "parameters": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/BackupVaults" + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "BackupVaults_CheckNameAvailability", + "title": "Check BackupVaults name availability" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/DeleteBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/DeleteBackupVault.json new file mode 100644 index 000000000000..d4361a5f4ca7 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/DeleteBackupVault.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "Delete BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVault.json new file mode 100644 index 000000000000..ccfacde04a87 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVault.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCMK.json new file mode 100644 index 000000000000..33e3db3cb4ac --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCMK.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "provisioningState": "Succeeded", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Disabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault With CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..764d12f46be0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithCostManagementSettings.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault with Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithMSI.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithMSI.json new file mode 100644 index 000000000000..88641bf2b37e --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultWithMSI.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "Get BackupVault With MSI" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInResourceGroup.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInResourceGroup.json new file mode 100644 index 000000000000..968136d26d28 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInResourceGroup.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ExampleVault1", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault1", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + { + "name": "ExampleVault2", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault2", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_GetInResourceGroup", + "title": "Get BackupVaults in ResourceGroup" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInSubscription.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInSubscription.json new file mode 100644 index 000000000000..ab7a74066292 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetBackupVaultsInSubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ExampleVault1", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup2/providers/Microsoft.DataProtection/BackupVaults/ExampleVault1", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + { + "name": "ExampleVault2", + "type": "Microsoft.DataProtection/BackupVaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/BackupVaults/ExampleVault2", + "location": "WestUS", + "properties": { + "bcdrSecurityLevel": "Good", + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_GetInSubscription", + "title": "Get BackupVaults in Subscription" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetOperationResultPatch.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetOperationResultPatch.json new file mode 100644 index 000000000000..a185292c5228 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/GetOperationResultPatch.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "60" + } + } + }, + "operationId": "BackupVaultOperationResults_Get", + "title": "GetOperationResult Patch" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVault.json new file mode 100644 index 000000000000..9e651863b641 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVault.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCMK.json new file mode 100644 index 000000000000..a07f572099c4 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCMK.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityType": "SystemAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 90, + "state": "On" + } + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityType": "SystemAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + } + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 90, + "state": "On" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault with CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..a623bf399139 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PatchBackupVaultWithCostManagementSettings.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", + "api-version": "2026-06-01", + "parameters": { + "properties": { + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + } + }, + "tags": { + "newKey": "newVal" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "newKey": "newVal" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "Patch BackupVault with Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVault.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVault.json new file mode 100644 index 000000000000..dfc7c64c7e66 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVault.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json new file mode 100644 index 000000000000..7b59e69dcbe0 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultCMKSettings_ResourceGuardEnabled.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "resourceGroupName": "SampleResourceGroup", + "vaultName": "swaggerExample", + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "identity": { + "type": "None" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "state": "Off", + "retentionDurationInDays": 0 + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "encryptionSettings": { + "state": "Enabled", + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "kekIdentity": { + "identityType": "UserAssigned", + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi" + }, + "infrastructureEncryption": "Enabled" + } + }, + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "state": "Off", + "retentionDurationInDays": 0 + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "encryptionSettings": { + "state": "Enabled", + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "kekIdentity": { + "identityType": "UserAssigned", + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi" + }, + "infrastructureEncryption": "Enabled" + } + }, + "resourceGuardOperationRequests": [ + "/subscriptions/754ec39f-8d2a-44cf-bfbf-13107ac85c36/resourcegroups/mua-testing/providers/Microsoft.DataProtection/resourceGuards/gvjreddy-test-ecy-rg-reader/dppModifyEncryptionSettingsRequests/default" + ], + "provisioningState": "Provisioning", + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + }, + "headers": { + "Retry-After": "10", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01" + } + }, + "200": { + "body": { + "identity": { + "type": "None" + }, + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "location": "WestUS", + "tags": { + "key1": "val1" + }, + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "datastoreType": "VaultStore", + "type": "LocallyRedundant" + } + ] + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create or Update Backup Vault With CMK and Resource Guard Enabled" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCMK.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCMK.json new file mode 100644 index 000000000000..a135a18b476d --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCMK.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "securitySettings": { + "encryptionSettings": { + "infrastructureEncryption": "Enabled", + "kekIdentity": { + "identityId": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourceGroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi", + "identityType": "UserAssigned" + }, + "keyVaultProperties": { + "keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3" + }, + "state": "Enabled" + }, + "immutabilitySettings": { + "state": "Disabled" + }, + "softDeleteSettings": { + "retentionDurationInDays": 0, + "state": "Off" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2023-04-01-privatepreview", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With CMK" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCostManagementSettings.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCostManagementSettings.json new file mode 100644 index 000000000000..6ba104ee4476 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithCostManagementSettings.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "costManagementSettings": { + "granularityLevel": "ProtectedItemLevel" + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With Cost Management Settings" +} diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithMSI.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithMSI.json new file mode 100644 index 000000000000..e8b711f1f706 --- /dev/null +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2026-06-01/examples/VaultCRUD/PutBackupVaultWithMSI.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2026-06-01", + "parameters": { + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "resourceGroupName": "SampleResourceGroup", + "subscriptionId": "0b352192-dcac-4cc7-992e-a96190ccc68c", + "vaultName": "swaggerExample" + }, + "responses": { + "200": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Succeeded", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + } + }, + "201": { + "body": { + "name": "swaggerExample", + "type": "Microsoft.DataProtection/Backupvaults", + "id": "/subscriptions/0b352192-dcac-4cc7-992e-a96190ccc68c/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample", + "location": "WestUS", + "properties": { + "featureSettings": { + "crossRegionRestoreSettings": { + "state": "Enabled" + } + }, + "monitoringSettings": { + "azureMonitorAlertSettings": { + "alertsForAllJobFailures": "Enabled" + } + }, + "provisioningState": "Provisioning", + "secureScore": "Adequate", + "securitySettings": { + "softDeleteSettings": { + "retentionDurationInDays": 14, + "state": "Enabled" + } + }, + "storageSettings": [ + { + "type": "LocallyRedundant", + "datastoreType": "VaultStore" + } + ] + }, + "tags": { + "key1": "val1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/Backupvaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==2026-06-01", + "Retry-After": "10" + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "Create BackupVault With MSI" +}