Skip to content

Commit

Permalink
- updating api-version in examples
Browse files Browse the repository at this point in the history
- added 'zone' in Get recoverypoint api example json
  • Loading branch information
arpja committed Dec 22, 2020
1 parent aa5e825 commit 80baa9f
Show file tree
Hide file tree
Showing 91 changed files with 95 additions and 93 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2019-06-15",
"version": "2020-12-01",
"title": "RecoveryServicesBackupClient",
"x-ms-code-generation-settings": {
"internalConstructors": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "backupManagementType eq 'AzureIaasVM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"recoveryPointId": "26083826328862",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"recoveryPointId": "348916168024334",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"objectType": "IaasVMRestoreRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"recoveryPointId": "348916168024334",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"objectType": "IaasVMRestoreRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;testRG;testvmName",
"protectedItemName": "VM;iaasvmcontainerv2;testRG;testvmName",
"recoveryPointId": "348916168024334",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"objectType": "ValidateIaasVMRestoreOperationRequest",
"restoreRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "backupManagementType eq 'AzureWorkload'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"backupManagementType": "AzureWorkload",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "SwaggerTest",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "SwaggerTest",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"enhancedSecurityState": "Enabled",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "SwaggerTest",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"enhancedSecurityState": "Enabled",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "NetSDKTestRsVault",
"jobName": "00000000-0000-0000-0000-000000000000",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"jobName": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM' and operation eq 'Backup' and backupManagementType eq 'AzureIaasVM' and status eq 'InProgress'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "startTime eq '2016-01-01 00:00:00 AM' and endTime eq '2017-11-29 00:00:00 AM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"jobName": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "backupManagementType eq 'AzureIaasVM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"recoveryPointId": "26083826328862",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"api-version": "2019-06-15"
"api-version": "2020-12-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"api-version": "2019-06-15",
"api-version": "2020-12-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Loading

0 comments on commit 80baa9f

Please sign in to comment.