-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New backup service api version #12171
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
Merged
Changes from 5 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9c9d029
Initial commit: adding new api version
arpja 7609e5b
- new api 2020-12-01
arpja f09b69a
updating the readme.md package reference
arpja 3099028
- adding the zone information for new api
arpja aa5e825
Merge remote-tracking branch 'upstream/master'
arpja 80baa9f
- updating api-version in examples
arpja 0f40238
Fixing prettier issue
arpja d5f2703
Revert "- updating api-version in examples"
arpja 7c44b69
- adding api-version in examples
arpja 907609d
adding new api version in package mds
arpja 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
9,558 changes: 9,558 additions & 0 deletions
9,558
...veryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2020-12-01/bms.json
Large diffs are not rendered by default.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
...icrosoft.RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/BackupPolicies_List.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,76 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "api-version": "2019-06-15", | ||
| "$filter": "backupManagementType eq 'AzureIaasVM'" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy", | ||
| "name": "DefaultPolicy", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupPolicies", | ||
| "properties": { | ||
| "backupManagementType": "AzureIaasVM", | ||
| "schedulePolicy": { | ||
| "schedulePolicyType": "SimpleSchedulePolicy", | ||
| "scheduleRunFrequency": "Daily", | ||
| "scheduleRunTimes": [ | ||
| "2017-12-05T19:00:00Z" | ||
| ], | ||
| "scheduleWeeklyFrequency": 0 | ||
| }, | ||
| "retentionPolicy": { | ||
| "retentionPolicyType": "LongTermRetentionPolicy", | ||
| "dailySchedule": { | ||
| "retentionTimes": [ | ||
| "2017-12-05T19:00:00Z" | ||
| ], | ||
| "retentionDuration": { | ||
| "count": 30, | ||
| "durationType": "Days" | ||
| } | ||
| } | ||
| }, | ||
| "protectedItemsCount": 0 | ||
| } | ||
| }, | ||
| { | ||
| "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", | ||
| "name": "testPolicy1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupPolicies", | ||
| "properties": { | ||
| "backupManagementType": "AzureIaasVM", | ||
| "schedulePolicy": { | ||
| "schedulePolicyType": "SimpleSchedulePolicy", | ||
| "scheduleRunFrequency": "Daily", | ||
| "scheduleRunTimes": [ | ||
| "2018-01-24T02:00:00Z" | ||
| ], | ||
| "scheduleWeeklyFrequency": 0 | ||
| }, | ||
| "retentionPolicy": { | ||
| "retentionPolicyType": "LongTermRetentionPolicy", | ||
| "dailySchedule": { | ||
| "retentionTimes": [ | ||
| "2018-01-24T02:00:00Z" | ||
| ], | ||
| "retentionDuration": { | ||
| "count": 1, | ||
| "durationType": "Days" | ||
| } | ||
| } | ||
| }, | ||
| "timeZone": "Pacific Standard Time", | ||
| "protectedItemsCount": 0 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
30 changes: 30 additions & 0 deletions
30
....RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/BackupProtectableItems_List.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,30 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "api-version": "2016-06-01", | ||
| "$filter": "backupManagementType eq 'AzureIaasVM'" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectableItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectableItems", | ||
| "properties": { | ||
| "friendlyName": "iaasvm-1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", | ||
| "protectionState": "NotProtected", | ||
| "protectableItemType": "Microsoft.ClassicCompute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
39 changes: 39 additions & 0 deletions
39
...ft.RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/BackupProtectedItems_List.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": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "api-version": "2019-06-15", | ||
| "$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", | ||
| "properties": { | ||
| "friendlyName": "iaasvm-1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", | ||
| "protectionStatus": "Healthy", | ||
| "protectionState": "Protected", | ||
| "healthStatus": "Passed", | ||
| "lastBackupStatus": "Completed", | ||
| "lastBackupTime": "2018-01-22T12:25:32.048723Z", | ||
| "protectedItemDataId": "636482643132986882", | ||
| "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM", | ||
| "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", | ||
| "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1", | ||
| "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
38 changes: 38 additions & 0 deletions
38
...veryServices/stable/2020-12-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.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,38 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "PythonSDKBackupTestRg", | ||
| "vaultName": "PySDKBackupTestRsVault", | ||
| "fabricName": "Azure", | ||
| "containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "api-version": "2019-06-15" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainer;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "name": "VM;iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", | ||
| "properties": { | ||
| "friendlyName": "iaasvm-1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", | ||
| "protectionStatus": "Healthy", | ||
| "protectionState": "Protected", | ||
| "healthStatus": "Passed", | ||
| "lastBackupStatus": "Completed", | ||
| "lastBackupTime": "2018-01-22T12:25:32.048723Z", | ||
| "protectedItemDataId": "636482643132986882", | ||
| "protectedItemType": "Microsoft.ClassicCompute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM", | ||
| "containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1", | ||
| "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", | ||
| "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
38 changes: 38 additions & 0 deletions
38
...ft.RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.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,38 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "PythonSDKBackupTestRg", | ||
| "vaultName": "PySDKBackupTestRsVault", | ||
| "fabricName": "Azure", | ||
| "containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", | ||
| "protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", | ||
| "api-version": "2019-06-15" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1/protectedItems/VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", | ||
| "name": "VM;iaasvmcontainerv2;iaasvm-rg;iaasvm-1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", | ||
| "properties": { | ||
| "friendlyName": "iaasvm-1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", | ||
| "protectionStatus": "Healthy", | ||
| "protectionState": "Protected", | ||
| "healthStatus": "Passed", | ||
| "lastBackupStatus": "Completed", | ||
| "lastBackupTime": "2018-01-22T12:25:32.048723Z", | ||
| "protectedItemDataId": "636482643132986882", | ||
| "protectedItemType": "Microsoft.Compute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM", | ||
| "containerName": "iaasvmcontainerv2;iaasvm-rg;iaasvm-1", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1", | ||
| "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", | ||
| "lastRecoveryPoint": "2017-11-22T12:25:32.048723Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...icrosoft.RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/ConfigureProtection.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": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "fabricName": "Azure", | ||
| "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "api-version": "2019-06-15", | ||
| "parameters": { | ||
| "properties": { | ||
| "protectedItemType": "Microsoft.Compute/virtualMachines", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", | ||
| "policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/DefaultPolicy" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", | ||
| "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", | ||
| "Retry-After": 60 | ||
| } | ||
| }, | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "name": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", | ||
| "properties": { | ||
| "friendlyName": "netvmtestv2vm1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", | ||
| "protectionStatus": "Healthy", | ||
| "protectionState": "Protected", | ||
| "healthStatus": "Passed", | ||
| "lastBackupStatus": "Completed", | ||
| "lastBackupTime": "2018-01-22T12:25:32.048723Z", | ||
| "protectedItemDataId": "636482643132986882", | ||
| "protectedItemType": "Microsoft.Compute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM", | ||
| "containerName": "iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", | ||
| "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", | ||
| "lastRecoveryPoint": null | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
46 changes: 46 additions & 0 deletions
46
...ecoveryServices/stable/2020-12-01/examples/AzureIaasVm/ProtectedItemOperationResults.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,46 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "fabricName": "Azure", | ||
| "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "operationId": "00000000-0000-0000-0000-000000000000", | ||
| "api-version": "2019-06-15" | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", | ||
| "Azure-AsyncOperation": "https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01", | ||
| "Retry-After": 60 | ||
| } | ||
| }, | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1/protectedItems/VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "name": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems", | ||
| "properties": { | ||
| "friendlyName": "netvmtestv2vm1", | ||
| "virtualMachineId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", | ||
| "protectionStatus": "Healthy", | ||
| "protectionState": "Protected", | ||
| "healthStatus": "Passed", | ||
| "lastBackupStatus": "Completed", | ||
| "lastBackupTime": "2018-01-22T12:25:32.048723Z", | ||
| "protectedItemDataId": "636482643132986882", | ||
| "protectedItemType": "Microsoft.Compute/virtualMachines", | ||
| "backupManagementType": "AzureIaasVM", | ||
| "workloadType": "VM", | ||
| "containerName": "iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1", | ||
| "policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1", | ||
| "lastRecoveryPoint": null | ||
| } | ||
| } | ||
| }, | ||
| "204": {} | ||
| } | ||
| } |
28 changes: 28 additions & 0 deletions
28
...RecoveryServices/stable/2020-12-01/examples/AzureIaasVm/ProtectedItemOperationStatus.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,28 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "SwaggerTestRg", | ||
| "vaultName": "NetSDKTestRsVault", | ||
| "fabricName": "Azure", | ||
| "containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1", | ||
| "operationId": "00000000-0000-0000-0000-000000000000", | ||
| "api-version": "2020-07-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "00000000-0000-0000-0000-000000000000", | ||
| "name": "00000000-0000-0000-0000-000000000000", | ||
| "status": "Succeeded", | ||
| "startTime": "2017-10-29T06:04:18.207325Z", | ||
| "endTime": "2017-10-29T06:04:18.207325Z", | ||
| "properties": { | ||
| "objectType": "OperationStatusJobExtendedInfo", | ||
| "jobId": "00000000-0000-0000-0000-000000000000" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
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.
please update the api-version in all examples
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.
Updated