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.
ASR: Adding new Resource replication protection intent and its associ…
…ated PUT and GET call (Azure#10484) * protectionIntent * protectionIntent * protectionIntent * pi * protectionIntent * protectionIntent * protectionIntent * pi * pi * model * model * fixing the default response * fixing swagger checks * fixing errors * fixing errors * fixing validations error * fixing prettier checks * fixing * fixing * replication Intent fixing * spelling * fixing camel case * Updating as per latest * fixing syntax issues * fixing few issues * fixing camel case * fixing syntax issues * fixing prettier issues * fixing linter issues * suppressing the default error response message
- Loading branch information
Showing
5 changed files
with
932 additions
and
4 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...soft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionIntents_Create.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": { | ||
"api-version": "2018-07-10", | ||
"intentObjectName": "vm1", | ||
"resourceName": "vault1", | ||
"resourceGroupName": "resourceGroupPS1", | ||
"subscriptionId": "509099b2-9d2c-4636-b43e-bd5cafb6be69", | ||
"input": { | ||
"properties": { | ||
"providerSpecificDetails": { | ||
"instanceType": "A2A", | ||
"fabricObjectId": "/subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/removeOne/providers/Microsoft.Compute/virtualMachines/vmPpgAv5", | ||
"primaryLocation": "eastUs2", | ||
"recoveryLocation": "westus2", | ||
"recoverySubscriptionId": "ed5bcdf6-d61e-47bd-8ea9-f2bd379a2640", | ||
"recoveryAvailabilityType": "Single", | ||
"recoveryResourceGroupId": "/subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/removeOne-asr" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/Subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/2007vttp/providers/Microsoft.RecoveryServices/vaults/tp2007vt/replicationProtectionIntents/vm1", | ||
"name": "vm1", | ||
"type": "Microsoft.RecoveryServices/vaults/replicationProtectionIntents", | ||
"properties": { | ||
"friendlyName": "vm1", | ||
"jobId": "/Subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/a2acl-rg-vault-prod-gip-ccy/providers/Microsoft.RecoveryServices/vaults/a2acl-vault-prod-gip-ccy/replicationJobs/02004ea7-d498-4bb4-bdeb-cdb611706867", | ||
"jobState": "InProgress", | ||
"providerSpecificDetails": { | ||
"instanceType": "A2A" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...crosoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionIntents_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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-10", | ||
"intentObjectName": "vm1", | ||
"resourceName": "vault1", | ||
"resourceGroupName": "resourceGroupPS1", | ||
"subscriptionId": "509099b2-9d2c-4636-b43e-bd5cafb6be69" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/Subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/2007vttp/providers/Microsoft.RecoveryServices/vaults/tp2007vt/replicationProtectionIntents/vm1", | ||
"name": "vm1", | ||
"type": "Microsoft.RecoveryServices/vaults/replicationProtectionIntents", | ||
"properties": { | ||
"friendlyName": "vm1", | ||
"jobId": "/Subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/a2acl-rg-vault-prod-gip-ccy/providers/Microsoft.RecoveryServices/vaults/a2acl-vault-prod-gip-ccy/replicationJobs/02004ea7-d498-4bb4-bdeb-cdb611706867", | ||
"jobState": "InProgress", | ||
"providerSpecificDetails": { | ||
"instanceType": "A2A", | ||
"fabricObjectId": "/subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/removeOne/providers/Microsoft.Compute/virtualMachines/vmPpgAv5", | ||
"primaryLocation": "eastUs2", | ||
"recoveryLocation": "westus2", | ||
"recoverySubscriptionId": "ed5bcdf6-d61e-47bd-8ea9-f2bd379a2640", | ||
"recoveryAvailabilityType": "Single" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...rosoft.RecoveryServices/stable/2018-07-10/examples/ReplicationProtectionIntents_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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-10", | ||
"resourceName": "2007vttp", | ||
"resourceGroupName": "resourceGroupPS1", | ||
"subscriptionId": "509099b2-9d2c-4636-b43e-bd5cafb6be69" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/Subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/2007vttp/providers/Microsoft.RecoveryServices/vaults/tp2007vt/replicationProtectionIntents/vm1", | ||
"name": "vm1", | ||
"type": "Microsoft.RecoveryServices/vaults/replicationProtectionIntents", | ||
"properties": { | ||
"friendlyName": "vm1", | ||
"jobId": "/Subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/a2acl-rg-vault-prod-gip-ccy/providers/Microsoft.RecoveryServices/vaults/a2acl-vault-prod-gip-ccy/replicationJobs/02004ea7-d498-4bb4-bdeb-cdb611706867", | ||
"jobState": "InProgress", | ||
"providerSpecificDetails": { | ||
"instanceType": "A2A", | ||
"fabricObjectId": "/subscriptions/509099b2-9d2c-4636-b43e-bd5cafb6be69/resourceGroups/removeOne/providers/Microsoft.Compute/virtualMachines/vmPpgAv5", | ||
"primaryLocation": "eastUs2", | ||
"recoveryLocation": "westus2", | ||
"recoverySubscriptionId": "ed5bcdf6-d61e-47bd-8ea9-f2bd379a2640", | ||
"recoveryAvailabilityType": "Single" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.