-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Dev dataprotection microsoft.data protection 2022 03 31 preview #18624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
msyyc
merged 13 commits into
Azure:main
from
amchandn:dev-dataprotection-Microsoft.DataProtection-2022-03-31-preview
Apr 26, 2022
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
fa2294c
Adds base for updating Microsoft.DataProtection from version preview/…
amchandn ca5bf89
Updates readme
amchandn f1500c0
Updates API version in new specs and examples
amchandn 0ae3841
Changes from 2022-03-01
amchandn 0ca2e93
Adding extension routing API
amchandn 3ac4c11
Prettier fix
amchandn 02aeda7
Undo unintentional changes
amchandn 8ef5020
Merge branch 'dev-dataprotection-Microsoft.DataProtection-2022-03-31-…
amchandn 17208db
Revert "Prettier fix"
amchandn a28a4b8
Adding autoheal settings
chandrasekarendran e2078bd
Adding x-ms-parameter-location
amchandn ab02656
Merge pull request #1 from chandrasekarendran/dev-dataprotection-Micr…
amchandn 0fd3b5e
Fixing example resourceId and extension resource path
amchandn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6,588 changes: 6,588 additions & 0 deletions
6,588
.../resource-manager/Microsoft.DataProtection/preview/2022-03-31-preview/dataprotection.json
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...on/preview/2022-03-31-preview/examples/BackupInstanceOperations/DeleteBackupInstance.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "vaultName": "PratikPrivatePreviewVault1", | ||
| "backupInstanceName": "testInstance1", | ||
| "api-version": "2022-03-31-preview" | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2022-03-31-preview", | ||
| "Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2022-03-31-preview", | ||
| "Retry-After": "60" | ||
| } | ||
| }, | ||
| "204": {}, | ||
| "200": {} | ||
| } | ||
| } |
32 changes: 32 additions & 0 deletions
32
...review/2022-03-31-preview/examples/BackupInstanceOperations/FindRestorableTimeRanges.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "Blob-Backup", | ||
| "vaultName": "ZBlobBackupVaultBVTD3", | ||
| "backupInstanceName": "zblobbackuptestsa58", | ||
| "api-version": "2022-03-31-preview", | ||
| "parameters": { | ||
| "sourceDataStoreType": "OperationalStore", | ||
| "startTime": "2020-10-17T23:28:17.6829685Z", | ||
| "endTime": "2021-02-24T00:35:17.6829685Z" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "zblobbackuptestsa58", | ||
| "type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges", | ||
| "properties": { | ||
| "restorableTimeRanges": [ | ||
| { | ||
| "startTime": "2021-02-23T18:33:51.6349708Z", | ||
| "endTime": "2021-02-24T00:35:17.0000000Z", | ||
| "objectType": "RestorableTimeRange" | ||
| } | ||
| ], | ||
| "objectType": "AzureBackupFindRestorableTimeRangesResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
48 changes: 48 additions & 0 deletions
48
...ction/preview/2022-03-31-preview/examples/BackupInstanceOperations/GetBackupInstance.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "vaultName": "PratikPrivatePreviewVault1", | ||
| "api-version": "2022-03-31-preview", | ||
| "backupInstanceName": "testInstance1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", | ||
| "name": "harshitbi2", | ||
| "type": "Microsoft.DataProtection/backupVaults/backupInstances", | ||
| "properties": { | ||
| "friendlyName": "harshitbi2", | ||
| "dataSourceInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "testdb", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "Datasource" | ||
| }, | ||
| "dataSourceSetInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "viveksipgtest", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "DatasourceSet" | ||
| }, | ||
| "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", | ||
| "objectType": "BackupInstance" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
56 changes: 56 additions & 0 deletions
56
...022-03-31-preview/examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "SampleResourceGroup", | ||
| "vaultName": "swaggerExample", | ||
| "backupInstanceName": "testInstance1", | ||
| "operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", | ||
| "api-version": "2022-03-31-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/backupInstances/testInstance1", | ||
| "name": "testInstance1", | ||
| "type": "Microsoft.DataProtection/backupVaults/backupInstances", | ||
| "properties": { | ||
| "friendlyName": "testInstance1", | ||
| "dataSourceInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "testdb", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "Datasource" | ||
| }, | ||
| "dataSourceSetInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "viveksipgtest", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "DatasourceSet" | ||
| }, | ||
| "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", | ||
| "objectType": "BackupInstance" | ||
| } | ||
| } | ||
| }, | ||
| "202": { | ||
| "headers": { | ||
| "Retry-After": "10", | ||
| "Azure-AsyncOperation": "https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-03-31-preview", | ||
| "Location": "https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupvaults/swaggerExample/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2022-03-31-preview" | ||
| } | ||
| } | ||
| } | ||
| } |
39 changes: 39 additions & 0 deletions
39
...ection/preview/2022-03-31-preview/examples/BackupInstanceOperations/GetRecoveryPoint.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "vaultName": "PratikPrivatePreviewVault1", | ||
| "api-version": "2022-03-31-preview", | ||
| "backupInstanceName": "testInstance1", | ||
| "recoveryPointId": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "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", | ||
| "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", | ||
| "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", | ||
| "properties": { | ||
| "objectType": "AzureBackupDiscreteRecoveryPoint", | ||
| "recoveryPointTime": "2019-03-01T13:00:00Z", | ||
| "recoveryPointType": "Full", | ||
| "friendlyName": "panbha4", | ||
| "recoveryPointDataStoresDetails": [ | ||
| { | ||
| "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", | ||
| "type": "Snapshot", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| }, | ||
| { | ||
| "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", | ||
| "type": "BackupStorage", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...ion/preview/2022-03-31-preview/examples/BackupInstanceOperations/ListBackupInstances.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "vaultName": "PratikPrivatePreviewVault1", | ||
| "api-version": "2022-03-31-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", | ||
| "name": "harshitbi2", | ||
| "type": "Microsoft.DataProtection/backupVaults/backupInstances", | ||
| "properties": { | ||
| "friendlyName": "harshitbi2", | ||
| "dataSourceInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "testdb", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "Datasource" | ||
| }, | ||
| "dataSourceSetInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "viveksipgtest", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "DatasourceSet" | ||
| }, | ||
| "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", | ||
| "objectType": "BackupInstance" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
53 changes: 53 additions & 0 deletions
53
...-03-31-preview/examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "resourceProviderNamespace": "Microsoft.DBforPostgreSQL", | ||
| "resourceType": "servers", | ||
| "resourceName": "viveksipgtest", | ||
| "api-version": "2022-03-31-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2", | ||
| "name": "harshitbi2", | ||
| "type": "Microsoft.DataProtection/backupVaults/backupInstances", | ||
| "properties": { | ||
| "friendlyName": "harshitbi2", | ||
| "dataSourceInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "testdb", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "Datasource" | ||
| }, | ||
| "dataSourceSetInfo": { | ||
| "resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest", | ||
| "resourceUri": "", | ||
| "datasourceType": "OssDB", | ||
| "resourceName": "viveksipgtest", | ||
| "resourceType": "OssDB", | ||
| "resourceLocation": "", | ||
| "objectType": "DatasourceSet" | ||
| }, | ||
| "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", | ||
| "objectType": "BackupInstance" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
67 changes: 67 additions & 0 deletions
67
...tion/preview/2022-03-31-preview/examples/BackupInstanceOperations/ListRecoveryPoints.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
| "resourceGroupName": "000pikumar", | ||
| "vaultName": "PratikPrivatePreviewVault1", | ||
| "api-version": "2022-03-31-preview", | ||
| "backupInstanceName": "testInstance1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "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", | ||
| "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35", | ||
| "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", | ||
| "properties": { | ||
| "objectType": "AzureBackupDiscreteRecoveryPoint", | ||
| "recoveryPointTime": "2019-03-01T13:00:00Z", | ||
| "recoveryPointType": "Full", | ||
| "friendlyName": "panbha4", | ||
| "recoveryPointDataStoresDetails": [ | ||
| { | ||
| "id": "0ff03512-b333-4509-a6c7-12164c8b1dce", | ||
| "type": "Snapshot", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| }, | ||
| { | ||
| "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1", | ||
| "type": "BackupStorage", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "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", | ||
| "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25", | ||
| "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints", | ||
| "properties": { | ||
| "objectType": "AzureBackupDiscreteRecoveryPoint", | ||
| "recoveryPointTime": "2019-03-01T13:00:00Z", | ||
| "recoveryPointType": "Full", | ||
| "friendlyName": "panbha4", | ||
| "recoveryPointDataStoresDetails": [ | ||
| { | ||
| "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2", | ||
| "type": "Snapshot", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| }, | ||
| { | ||
| "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3", | ||
| "type": "BackupStorage", | ||
| "creationTime": "2019-03-01T13:00:00Z", | ||
| "metaData": "123456" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The resource ID is invalid. The backupInstances resource should be an extension of the request scope (the sql server).
It should be
/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @j5lim for pointing it out, I've fixed the value of id in the example now