Description | : Gets the list of Microsoft.Compute SKUs available for your Subscription. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "ResourceSkus_List", "$parameters": [ { "#name": "api-version", "Description": { "new": "The API version to use for this operation.", "old": "Client Api Version." } }, { "#name": "subscriptionId", "Description": { "new": "The ID of the target subscription.", "old": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." } } ], "$responses": { "200": { "$properties": [ { "#name": "value", "Description": { "new": "The ResourceSku items on this page", "old": "The list of skus available for the subscription." } }, { "#name": "nextLink", "Description": { "new": "The link to the next page of items", "old": "The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus" } } ] }, "@added_750bae7e142547c09d0b5a6d96be747d": { "default": { "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", "Type": "object", "$properties": [ { "#name": "error", "Description": "The error object.", "Required": false, "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } ] } } } }
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus
{
api-version:
string
,
subscriptionId:
string
,
$filter:
string
,
includeExtendedLocations:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
resourceType:
string
,
name:
string
,
tier:
string
,
size:
string
,
family:
string
,
kind:
string
,
capacity:
{
,
minimum:
integer
,
maximum:
integer
,
default:
integer
,
scaleType:
enum
,
}
locations:
[
,
string
,
]
locationInfo:
[
]
,
{
,
location:
string
,
zones:
[
,
string
,
]
zoneDetails:
[
]
,
{
,
name:
[
,
string
,
]
capabilities:
}
[
]
,
{
,
name:
string
,
value:
string
,
}
extendedLocations:
[
,
string
,
]
type:
enum
,
}
apiVersions:
[
,
string
,
]
costs:
[
]
,
{
,
meterID:
string
,
quantity:
integer
,
extendedUnit:
string
,
}
capabilities:
[
]
,
{
,
name:
string
,
value:
string
,
}
restrictions:
}
[
]
,
{
,
type:
enum
,
values:
[
,
string
,
]
restrictionInfo:
{
,
locations:
[
,
string
,
]
zones:
}
[
,
string
,
]
reasonCode:
enum
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}