Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Taejas authored and hiaga committed Oct 20, 2023
1 parent e23c371 commit 44be677
Show file tree
Hide file tree
Showing 98 changed files with 98 additions and 98 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2023-04-01",
"version": "2023-06-01",
"title": "RecoveryServicesBackupClient",
"x-ms-code-generation-settings": {
"internalConstructors": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"featureType": "AzureVMResourceBackup",
"vmSize": "Basic_A0",
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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Compute/VirtualMachines/testVm",
"resourceType": "VM"
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": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"202": {
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": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "myVault",
"fabricName": "Azure",
"intentObjectName": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"properties": {
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arunaupgrade/providers/Microsoft.Compute/VirtualMachines/upgrade1",
"resourceType": "VM",
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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-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",
"policyName": "testPolicy1",
"api-version": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"recoveryPointId": "1",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"properties": {
"initiatorName": "Hello World",
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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"objectType": "ListRecoveryPointsRecommendedForMoveRequest",
"excludedRPList": [
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": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"recoveryPointId": "1",
"api-version": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"202": {
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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"properties": {
"objectType": "IaasVMRestoreWithRehydrationRequest",
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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"properties": {
"objectType": "IaasVMRestoreWithRehydrationRequest",
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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"objectType": "ValidateIaasVMRestoreOperationRequest",
"restoreRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "v2-daily-sample",
"api-version": "2023-04-01",
"api-version": "2023-06-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": "v2-daily-sample",
"api-version": "2023-04-01",
"api-version": "2023-06-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": "v2-daily-sample",
"api-version": "2023-04-01"
"api-version": "2023-06-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": "2023-04-01",
"api-version": "2023-06-01",
"$filter": "backupManagementType eq 'AzureIaasVM'"
},
"responses": {
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": "2023-04-01"
"api-version": "2023-06-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",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"200": {
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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"objectType": "ValidateIaasVMRestoreOperationRequest",
"restoreRequest": {
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": "2023-04-01",
"api-version": "2023-06-01",
"parameters": {
"objectType": "ValidateIaasVMRestoreOperationRequest",
"restoreRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "testRg",
"vaultName": "testvault",
"fabricName": "Azure",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"$filter": "backupManagementType eq 'AzureStorage' and workloadType eq 'AzureFileShare'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "testvault",
"fabricName": "Azure",
"containerName": "storagecontainer;Storage;test-rg;teststorage",
"api-version": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "VMAppContainer;Compute;testRG;testSQL",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2023-04-01"
"api-version": "2023-06-01"
},
"responses": {
"204": {},
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": "testRg",
"vaultName": "testVault",
"api-version": "2023-04-01",
"api-version": "2023-06-01",
"fabricName": "Azure",
"$filter": "backupManagementType eq 'AzureWorkload'"
},
Expand Down
Loading

0 comments on commit 44be677

Please sign in to comment.