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.
Dev recoveryservices microsoft.recovery services 2022 01 31 preview (A…
…zure#18378) * Adds base for updating Microsoft.RecoveryServices from version stable/2022-01-01 to version 2022-01-31-preview * Updates readme * Updates API version in new specs and examples * Adding capability API to swagger * Fixes * Fixing error * Fixing validation errors * Prettier fixes * Fixing example description for capabilities * Correcting value in example * Changes to support multi subResource * Adding x-ms-identifiers * Prettier fix
- Loading branch information
1 parent
ffd97ea
commit 30e6ab5
Showing
31 changed files
with
4,534 additions
and
1 deletion.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...-manager/Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/Capabilities.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"api-version": "2022-01-31-preview", | ||
"location": "westus", | ||
"input": { | ||
"type": "Microsoft.RecoveryServices/Vaults", | ||
"properties": { | ||
"dnsZones": [ | ||
{ | ||
"subResource": "AzureBackup" | ||
}, | ||
{ | ||
"subResource": "AzureSiteRecovery" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "Microsoft.RecoveryServices/Vaults", | ||
"properties": { | ||
"dnsZones": [ | ||
{ | ||
"subResource": "AzureBackup", | ||
"requiredZoneNames": [ | ||
"privatelink.wus.backup.windowsazure.com", | ||
"privatelink.queue.core.windows.net", | ||
"privatelink.blob.core.windows.net" | ||
] | ||
}, | ||
{ | ||
"subResource": "AzureSiteRecovery", | ||
"requiredZoneNames": [ | ||
"privatelink.siterecovery.windowsazure.com" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...RecoveryServices/preview/2022-01-31-preview/examples/CheckNameAvailability_Available.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": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "resGroupFoo", | ||
"api-version": "2022-01-31-preview", | ||
"location": "westus", | ||
"input": { | ||
"name": "swaggerExample", | ||
"type": "Microsoft.RecoveryServices/Vaults" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...overyServices/preview/2022-01-31-preview/examples/CheckNameAvailability_NotAvailable.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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "resGroupBar", | ||
"api-version": "2022-01-31-preview", | ||
"location": "westus", | ||
"input": { | ||
"name": "swaggerExample2", | ||
"type": "Microsoft.RecoveryServices/Vaults" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "Resource already exists with the same name." | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...soft.RecoveryServices/preview/2022-01-31-preview/examples/DeleteRegisteredIdentities.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-d41f-4550-9f70-7708a3a2283b", | ||
"resourceGroupName": "BCDRIbzRG", | ||
"vaultName": "BCDRIbzVault", | ||
"identityName": "dpmcontainer01", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...e-manager/Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/DeleteVault.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,11 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "Default-RecoveryServices-ResourceGroup", | ||
"vaultName": "swaggerExample", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...urce-manager/Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/GETVault.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": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "Default-RecoveryServices-ResourceGroup", | ||
"vaultName": "swaggerExample", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"name": "swaggerExample", | ||
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", | ||
"tags": { | ||
"TestUpdatedKey": "TestUpdatedValue" | ||
}, | ||
"identity": { | ||
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b", | ||
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247", | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpointConnections": [ | ||
{ | ||
"id": "/subscriptions/6c48fa17-39c7-45f1-90ac-47a587128ace/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/Vaults/pemsi-ecy-rsv2/privateEndpointConnections/pe114-pemsi-ecy-rsv.5944358949303501042.backup.75061caa-cba4-4849-8e09-608da4914aad", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/6c48fa17-39c7-45f1-90ac-47a587128ace/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.Network/privateEndpoints/pe114-pemsi-ecy-rsv" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "None", | ||
"actionsRequired": "None" | ||
} | ||
} | ||
} | ||
], | ||
"privateEndpointStateForBackup": "Enabled", | ||
"privateEndpointStateForSiteRecovery": "None" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample", | ||
"type": "Microsoft.RecoveryServices/vaults", | ||
"sku": { | ||
"name": "Standard" | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
.../Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/GETVaultExtendedInfo.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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "Default-RecoveryServices-ResourceGroup", | ||
"vaultName": "swaggerExample", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "vaultExtendedInfo", | ||
"etag": "f0d0260b-b92d-4458-ba0a-32c6cdabacb7", | ||
"properties": { | ||
"integrityKey": "J09wzS27fnJ+Wjot7xO5wA==", | ||
"algorithm": "None" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/extendedInformation/vaultExtendedInfo", | ||
"type": "Microsoft.RecoveryServices/vaults/extendedInformation" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...er/Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/GetOperationResult.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "HelloWorld", | ||
"vaultName": "swaggerExample", | ||
"operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": "10", | ||
"Azure-AsyncOperation": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15", | ||
"Location": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"name": "swaggerExample", | ||
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", | ||
"tags": { | ||
"PatchKey": "PatchKeyUpdated" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": { | ||
"clientId": "fbe75b66-01c5-4f87-a220-233af3270436", | ||
"principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9219" | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", | ||
"type": "Microsoft.RecoveryServices/vaults", | ||
"sku": { | ||
"name": "Standard" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...er/Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/GetOperationStatus.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"resourceGroupName": "HelloWorld", | ||
"vaultName": "swaggerExample", | ||
"operationId": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", | ||
"name": "YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==", | ||
"status": "Succeeded", | ||
"startTime": "2019-11-20T09:49:44.0478496Z", | ||
"endTime": "2019-11-20T09:49:46Z" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...crosoft.RecoveryServices/preview/2022-01-31-preview/examples/GetPrivateLinkResources.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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "6c48fa17-39c7-45f1-90ac-47a587128ace", | ||
"resourceGroupName": "petesting", | ||
"vaultName": "pemsi-ecy-rsv2", | ||
"api-version": "2022-01-31-preview", | ||
"privateLinkResourceName": "backupResource" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/6c48fa17-39c7-45f1-90ac-47a587128ace/resourceGroups/petesting/providers/Microsoft.RecoveryServices/Vaults/pemsi-ecy-rsv2/privateLinkResources/backupResource", | ||
"name": "backupResource", | ||
"type": "Microsoft.RecoveryServices/Vaults/privateLinkResources", | ||
"properties": { | ||
"groupId": "AzureBackup", | ||
"requiredMembers": [ | ||
"backup-fab1", | ||
"backup-rec2", | ||
"backup-prot1", | ||
"backup-ecs1", | ||
"backup-tel1", | ||
"backup-wbcm1", | ||
"backup-fc1", | ||
"backup-id1" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.ecy.backup.windowsazure.com", | ||
"privatelink.queue.core.windows.net", | ||
"privatelink.blob.core.windows.net" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...Microsoft.RecoveryServices/preview/2022-01-31-preview/examples/ListBySubscriptionIds.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,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "77777777-b0c6-47a2-b37c-d8e65a629c18", | ||
"api-version": "2022-01-31-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "westus", | ||
"name": "patchtest", | ||
"etag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"", | ||
"tags": { | ||
"Love": "India" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/patchtest", | ||
"type": "Microsoft.RecoveryServices/vaults", | ||
"sku": { | ||
"name": "Standard" | ||
} | ||
}, | ||
{ | ||
"location": "westus", | ||
"name": "swaggerExample", | ||
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"", | ||
"tags": { | ||
"TestUpdatedKey": "TestUpdatedValue" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/swaggerExample", | ||
"type": "Microsoft.RecoveryServices/vaults", | ||
"sku": { | ||
"name": "Standard" | ||
} | ||
}, | ||
{ | ||
"location": "westus", | ||
"name": "today1", | ||
"etag": "W/\"datetime'2017-11-21T10%3A52%3A19.633Z'\"", | ||
"tags": { | ||
"TestUpdatedKey": "TestUpdatedValue" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/HelloWorld/providers/Microsoft.RecoveryServices/vaults/today1", | ||
"type": "Microsoft.RecoveryServices/vaults", | ||
"sku": { | ||
"name": "Standard" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.