Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"api-version": "2020-10-01",
"includeExtendedLocations": "true"
},
"responses": {
"200": {
"body": {
"value": [
{
"resourceType": "virtualMachines",
"locations": [
"westus"
],
"capabilities": [
{
"name": "MaxResourceVolumeMB",
"value": "20480"
},
{
"name": "OSVhdSizeMB",
"value": "1047552"
},
{
"name": "vCPUs",
"value": "1"
},
{
"name": "HyperVGenerations",
"value": "V1"
},
{
"name": "MemoryGB",
"value": "0.75"
},
{
"name": "MaxDataDiskCount",
"value": "1"
},
{
"name": "LowPriorityCapable",
"value": "False"
},
{
"name": "PremiumIO",
"value": "False"
},
{
"name": "vCPUsAvailable",
"value": "1"
},
{
"name": "ACUs",
"value": "50"
},
{
"name": "vCPUsPerCore",
"value": "1"
},
{
"name": "EphemeralOSDiskSupported",
"value": "False"
},
{
"name": "AcceleratedNetworkingEnabled",
"value": "False"
},
{
"name": "RdmaEnabled",
"value": "False"
},
{
"name": "MaxNetworkInterfaces",
"value": "2"
}
],
"locationInfo": [
{
"location": "westus",
"zones": [
"2",
"1"
],
"zoneDetails": [
{
"name": [
"2"
],
"capabilities": [
{
"name": "UltraSSDAvailable",
"value": "True"
}
]
}
]
}
],
"name": "Standard_A0",
"tier": "Standard",
"size": "A0",
"family": "standardA0_A7Family"
},
{
"resourceType": "virtualMachines",
"locations": [
"westus"
],
"capabilities": [
{
"name": "MaxResourceVolumeMB",
"value": "71680"
},
{
"name": "OSVhdSizeMB",
"value": "1047552"
},
{
"name": "vCPUs",
"value": "1"
},
{
"name": "HyperVGenerations",
"value": "V1"
},
{
"name": "MemoryGB",
"value": "1.75"
},
{
"name": "MaxDataDiskCount",
"value": "2"
},
{
"name": "LowPriorityCapable",
"value": "True"
},
{
"name": "PremiumIO",
"value": "False"
},
{
"name": "vCPUsAvailable",
"value": "1"
},
{
"name": "ACUs",
"value": "100"
},
{
"name": "vCPUsPerCore",
"value": "1"
},
{
"name": "EphemeralOSDiskSupported",
"value": "False"
},
{
"name": "AcceleratedNetworkingEnabled",
"value": "False"
},
{
"name": "RdmaEnabled",
"value": "False"
},
{
"name": "MaxNetworkInterfaces",
"value": "2"
}
],
"locationInfo": [
{
"location": "westus",
"zones": [
"1",
"2",
"3"
]
},
{
"location": "westus",
"extendedLocations": [
"Las Vegas",
"Seattle",
"Portland"
],
"type": "EdgeZone"
}
],
"name": "Standard_A1",
"tier": "Standard",
"size": "A1",
"family": "standardA0_A7Family"
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"required": false,
"type": "string",
"description": "The filter to apply on the operation. Only **location** filter is supported currently."
},
{
"$ref": "#/parameters/IncludeExtendedLocationsParameter"
}
],
"responses": {
Expand All @@ -74,6 +77,9 @@
},
"Lists all available Resource SKUs for the specified region": {
"$ref": "./examples/skus/ListAvailableResourceSkusForARegion.json"
},
"Lists all available Resource SKUs with Extended Location information": {
"$ref": "./examples/skus/ListAvailableResourceSkusWithExtendedLocations.json"
}
}
}
Expand Down Expand Up @@ -328,8 +334,29 @@
"$ref": "#/definitions/ResourceSkuZoneDetails"
},
"description": "Details of capabilities available to a SKU in specific zones."
},
"extendedLocations": {
"readOnly": true,
"type": "array",
"items": {
"type": "string"
},
"description": "The names of extended locations."
},
"type": {
"type": "string",
"readOnly": true,
"description": "The type of the extended location.",
"enum": [
"EdgeZone"
],
"x-ms-enum": {
"name": "ExtendedLocationType",
"modelAsString": true
}
}
}
},
"description": "Describes an available Compute SKU Location Information."
},
"ResourceSkuRestrictionInfo": {
"properties": {
Expand All @@ -349,7 +376,8 @@
},
"description": "List of availability zones where the SKU is restricted."
}
}
},
"description": "Describes an available Compute SKU Restriction Information."
},
"ResourceSkusResult": {
"properties": {
Expand Down Expand Up @@ -385,6 +413,14 @@
"required": true,
"type": "string",
"description": "Client Api Version."
},
"IncludeExtendedLocationsParameter": {
"name": "includeExtendedLocations",
"in": "query",
"required": false,
"type": "string",
"description": "To Include Extended Locations information or not in the response.",
"x-ms-parameter-location": "method"
}
}
}
3 changes: 2 additions & 1 deletion specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ These settings apply only when `--tag=package-2021-07-01` is specified on the co
input-file:
- Microsoft.Compute/stable/2021-07-01/compute.json
- Microsoft.Compute/stable/2021-07-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2021-07-01/skus.json
- Microsoft.Compute/stable/2020-12-01/disk.json
- Microsoft.Compute/stable/2020-09-30/gallery.json
- Microsoft.Compute/stable/2020-09-30/sharedGallery.json
Expand All @@ -252,6 +252,7 @@ These settings apply only when `--tag=package-2021-07-01-only` is specified on t
input-file:
- Microsoft.Compute/stable/2021-07-01/compute.json
- Microsoft.Compute/stable/2021-07-01/runCommands.json
- Microsoft.Compute/stable/2021-07-01/skus.json
```

### Tag: package-2021-03-01
Expand Down