-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger change for getting all availability sets in a subscription an…
…d StandardSSD (#3302) * First commit * Small change * Added an example for listing all the availability sets in a subscription * Addressed comments - added missing StandardSSD_LRS in 2018-04-01, updated name to ListAll, and removed the change from 2015-06-15 * Added nextLink to AvailabilitySetListResult
- Loading branch information
Showing
11 changed files
with
382 additions
and
14 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
46 changes: 46 additions & 0 deletions
46
...soft.Compute/preview/2016-04-30-preview/examples/ListAvailabilitySetsInASubscription.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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"api-version": "2016-04-30-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"platformUpdateDomainCount": 5, | ||
"platformFaultDomainCount": 2 | ||
}, | ||
"type": "Microsoft.Compute/availabilitySets", | ||
"location": "centralus", | ||
"tags": { | ||
"{tagName}": "{tagValue}" | ||
}, | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", | ||
"name": "{availabilitySetName}", | ||
"sku": { | ||
"name": "Aligned" | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"platformUpdateDomainCount": 3, | ||
"platformFaultDomainCount": 2 | ||
}, | ||
"type": "Microsoft.Compute/availabilitySets", | ||
"location": "westus", | ||
"tags": { | ||
"{tagName}": "{tagValue}" | ||
}, | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", | ||
"name": "{availabilitySetName}", | ||
"sku": { | ||
"name": "Classic" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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
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
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
46 changes: 46 additions & 0 deletions
46
...ger/Microsoft.Compute/stable/2017-03-30/examples/ListAvailabilitySetsInASubscription.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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscriptionId}", | ||
"api-version": "2017-03-30" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"platformUpdateDomainCount": 5, | ||
"platformFaultDomainCount": 2 | ||
}, | ||
"type": "Microsoft.Compute/availabilitySets", | ||
"location": "centralus", | ||
"tags": { | ||
"{tagName}": "{tagValue}" | ||
}, | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", | ||
"name": "{availabilitySetName}", | ||
"sku": { | ||
"name": "Aligned" | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"platformUpdateDomainCount": 3, | ||
"platformFaultDomainCount": 2 | ||
}, | ||
"type": "Microsoft.Compute/availabilitySets", | ||
"location": "westus", | ||
"tags": { | ||
"{tagName}": "{tagValue}" | ||
}, | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", | ||
"name": "{availabilitySetName}", | ||
"sku": { | ||
"name": "Classic" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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.