Skip to content

Commit

Permalink
Adds base for updating Microsoft.RecoveryServices from version previe…
Browse files Browse the repository at this point in the history
…w/2022-09-01-preview to version 2022-10-01

Updates readme
Updates API version in new specs and examples
more progress
Updates readme

minor formatting
Another fix to pass the build issues
fixing the linter errors
updating the api version in the  example json files
trying to resolve cross version breaking changes
Delete SoftDeletedContainers_List.json
keep the new params as optional and keep properties read/write so not to break the api versioning

adding readonly and other changes from preview to stable - hiaga
fixed Avocado default tag
fixing LintDiff
  • Loading branch information
shesamian authored and hiaga committed Dec 4, 2022
1 parent ec0d568 commit 78389be
Show file tree
Hide file tree
Showing 98 changed files with 99 additions and 99 deletions.
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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2021-07-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2021-07-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2021-07-01",
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01"
"api-version": "2022-10-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": "2022-03-01",
"api-version": "2022-10-01",
"fabricName": "Azure",
"$filter": "backupManagementType eq 'AzureWorkload'"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "swaggertestvault",
"fabricName": "Azure",
"containerName": "StorageContainer;Storage;SwaggerTestRg;swaggertestsa",
"api-version": "2022-03-01",
"api-version": "2022-10-01",
"parameters": {
"properties": {
"friendlyName": "swaggertestsa",
Expand Down
Loading

0 comments on commit 78389be

Please sign in to comment.