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.
Added swagger for private link resource API (Azure#8655)
* Added GEt-privateLinkResources API and managedIdentity changes for Vaults * Fixed PrettierCheck failure * Update vaults.json * Update vaults.json * Resolved PR commens related to PrivateLinkResources * Resolved PR comments * resolved PR comments * Using x-ms-client-flatten for PrivateLinkResourceProperties * Fixing examples for PrivateLinkResources * Revert "Fixing examples for PrivateLinkResources" This reverts commit b0d62a2. * Revert "Using x-ms-client-flatten for PrivateLinkResourceProperties" This reverts commit 31ba2d0. * Using x-ms-client-flatten for PrivateLinkResourceProperties * Fixing examples for PrivateLinkResources * Adding description for privateLinkResourceProperties * Resolved PR comments. Fixed SpellCheck and PrettierCheck and Java SDK failures * Changing operationId for PrivateLinkResource to PrivateLinkResources * Renaming PrivateLinkResourceList to PrivateLinkResources Co-authored-by: deymadhumanti <deymadhumanti@users.noreply.github.com> Co-authored-by: asmaskar <asmaskar@microsoft.com> Co-authored-by: asmaskar <58723769+asmaskar@users.noreply.github.com> Co-authored-by: Aman Chandna <amchandn@microsoft.com>
- Loading branch information
Showing
5 changed files
with
452 additions
and
17 deletions.
There are no files selected for viewing
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
36 changes: 36 additions & 0 deletions
36
...anager/Microsoft.RecoveryServices/stable/2016-06-01/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": "2016-06-01", | ||
"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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...nager/Microsoft.RecoveryServices/stable/2016-06-01/examples/ListPrivateLinkResources.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,60 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "6c48fa17-39c7-45f1-90ac-47a587128ace", | ||
"resourceGroupName": "petesting", | ||
"vaultName": "pemsi-ecy-rsv2", | ||
"api-version": "2016-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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" | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/6c48fa17-39c7-45f1-90ac-47a587128ace/resourceGroups/gaallarg/providers/Microsoft.RecoveryServices/vaults/amchandnTest2702A/privateLinkResources/siteRecoveryResource", | ||
"name": "siteRecoveryResource", | ||
"type": "Microsoft.RecoveryServices/vaults/privateLinkResources", | ||
"properties": { | ||
"groupId": "AzureSiteRecovery", | ||
"requiredMembers": [ | ||
"siteRecovery-rcm1", | ||
"siteRecovery-prot2", | ||
"siteRecovery-tel1", | ||
"siteRecovery-srs1", | ||
"siteRecovery-prot2b", | ||
"siteRecovery-id1" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.ecy.siterecovery.windowsazure.com", | ||
"privatelink.queue.core.windows.net", | ||
"privatelink.blob.core.windows.net" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.