forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2022-02-01 API Version changes for recoveryservicesbackup (Azure#18326)
* Initial Commit with 2022-01-01 API Version * 2022-02-01 API Version Changes * Readme Changes * lint diff fix * x-ms-identifiers changed to []
- Loading branch information
1 parent
1162a71
commit cff858e
Showing
98 changed files
with
17,488 additions
and
1 deletion.
There are no files selected for viewing
12,572 changes: 12,572 additions & 0 deletions
12,572
...veryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-02-01/bms.json
Large diffs are not rendered by default.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...osoft.RecoveryServices/stable/2022-02-01/examples/AzureIaasVm/BackupFeature_Validate.json
This file contains 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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"azureRegion": "southeastasia", | ||
"api-version": "2022-02-01", | ||
"parameters": { | ||
"featureType": "AzureVMResourceBackup", | ||
"vmSize": "Basic_A0", | ||
"vmSku": "Premium" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"supportStatus": "DefaultOFF" | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...icrosoft.RecoveryServices/stable/2022-02-01/examples/AzureIaasVm/BackupPolicies_List.json
This file contains 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": "2022-02-01", | ||
"$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/2022-02-01/examples/AzureIaasVm/BackupProtectableItems_List.json
This file contains 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": "2022-02-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/2022-02-01/examples/AzureIaasVm/BackupProtectedItems_List.json
This file contains 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": "2022-02-01", | ||
"$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/2022-02-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
This file contains 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": "2022-02-01" | ||
}, | ||
"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/2022-02-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
This file contains 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": "2022-02-01" | ||
}, | ||
"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/2022-02-01/examples/AzureIaasVm/ConfigureProtection.json
This file contains 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": "2022-02-01", | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...er/Microsoft.RecoveryServices/stable/2022-02-01/examples/AzureIaasVm/GetBackupStatus.json
This file contains 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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"azureRegion": "southeastasia", | ||
"api-version": "2022-02-01", | ||
"parameters": { | ||
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Compute/VirtualMachines/testVm", | ||
"resourceType": "VM" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"protectionStatus": "Protected", | ||
"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/Vaults/testVault", | ||
"fabricName": "Azure", | ||
"containerName": "iaasvmcontainer;iaasvmcontainerv2;testRg;testVm", | ||
"protectedItemName": "vm;iaasvmcontainerv2;testRg;testVm", | ||
"policyName": "myPolicy", | ||
"errorCode": "Success", | ||
"errorMessage": "ErrorMessage" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...ecoveryServices/stable/2022-02-01/examples/AzureIaasVm/ProtectedItemOperationResults.json
This file contains 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": "2022-02-01" | ||
}, | ||
"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/2022-02-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json
This file contains 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": "2022-02-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.