Skus - List
Gets the Azure Lab Services resource SKUs.
Returns a list of Azure Lab Services resource SKUs.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus?api-version=2023-06-07
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus?api-version=2023-06-07&$filter={$filter}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
|
$filter
|
query |
string |
The filter to apply to the operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
The request was successful; response contains Azure Lab Services resource skus. |
|
| Other Status Codes |
The default error response. |
Examples
listSkus
Sample request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.LabServices/skus?api-version=2023-06-07
Sample response
{
"nextLink": null,
"value": [
{
"resourceType": "labs",
"name": "Standard_Fv2_2_4GB_64_S_SSD",
"tier": "Standard",
"size": "Fv2_2_4GB_64_S_SSD",
"family": "Fv2",
"locations": [
"eastus2"
],
"capacity": {
"minimum": 0,
"maximum": 400,
"default": 1,
"scaleType": "Automatic"
},
"costs": [
{
"meterId": "",
"quantity": 20.4,
"extendedUnit": "WindowsHourly"
},
{
"meterId": "",
"quantity": 20.4,
"extendedUnit": "HybridBenefitHourly"
},
{
"meterId": "",
"quantity": 0.7,
"extendedUnit": "InactiveHourly"
},
{
"meterId": "",
"quantity": 20.4,
"extendedUnit": "LinuxHourly"
}
],
"capabilities": [
{
"name": "vCPUs",
"value": "2"
},
{
"name": "MemoryGB",
"value": "4"
},
{
"name": "StorageGB",
"value": "64"
},
{
"name": "StorageType",
"value": "StandardSSD"
},
{
"name": "HyperVGenerations",
"value": "V1,V2"
},
{
"name": "IsGpu",
"value": "False"
}
]
},
{
"resourceType": "labs",
"name": "Standard_Fv2_2_4GB_256_S_SSD",
"tier": "Standard",
"size": "Fv2_2_4GB_256_S_SSD",
"family": "Fv2",
"locations": [
"eastus2"
],
"capacity": {
"minimum": 0,
"maximum": 400,
"default": 1,
"scaleType": "Automatic"
},
"costs": [
{
"meterId": "",
"quantity": 22.8,
"extendedUnit": "WindowsHourly"
},
{
"meterId": "",
"quantity": 22.8,
"extendedUnit": "HybridBenefitHourly"
},
{
"meterId": "",
"quantity": 2.7,
"extendedUnit": "InactiveHourly"
},
{
"meterId": "",
"quantity": 22.8,
"extendedUnit": "LinuxHourly"
}
],
"capabilities": [
{
"name": "vCPUs",
"value": "2"
},
{
"name": "MemoryGB",
"value": "4"
},
{
"name": "StorageGB",
"value": "256"
},
{
"name": "StorageType",
"value": "StandardSSD"
},
{
"name": "HyperVGenerations",
"value": "V1,V2"
},
{
"name": "IsGpu",
"value": "False"
}
]
},
{
"resourceType": "labs",
"name": "Standard_Dv4_2_8GB_128_S_SSD",
"tier": "Standard",
"size": "Dv4_2_8GB_128_S_SSD",
"family": "Dv4",
"locations": [
"eastus2"
],
"capacity": {
"minimum": 0,
"maximum": 400,
"default": 1,
"scaleType": "Automatic"
},
"costs": [
{
"meterId": "",
"quantity": 24.2,
"extendedUnit": "WindowsHourly"
},
{
"meterId": "",
"quantity": 24.2,
"extendedUnit": "HybridBenefitHourly"
},
{
"meterId": "",
"quantity": 1.4,
"extendedUnit": "InactiveHourly"
},
{
"meterId": "",
"quantity": 24.2,
"extendedUnit": "LinuxHourly"
}
],
"capabilities": [
{
"name": "vCPUs",
"value": "2"
},
{
"name": "MemoryGB",
"value": "8"
},
{
"name": "StorageGB",
"value": "128"
},
{
"name": "StorageType",
"value": "StandardSSD"
},
{
"name": "HyperVGenerations",
"value": "V1,V2"
},
{
"name": "IsGpu",
"value": "False"
}
]
},
{
"resourceType": "labs",
"name": "Standard_Dv4_2_8GB_256_S_SSD",
"tier": "Standard",
"size": "Dv4_2_8GB_256_S_SSD",
"family": "Dv4",
"locations": [
"eastus2"
],
"capacity": {
"minimum": 0,
"maximum": 400,
"default": 1,
"scaleType": "Automatic"
},
"costs": [
{
"meterId": "",
"quantity": 25.8,
"extendedUnit": "WindowsHourly"
},
{
"meterId": "",
"quantity": 25.8,
"extendedUnit": "HybridBenefitHourly"
},
{
"meterId": "",
"quantity": 2.7,
"extendedUnit": "InactiveHourly"
},
{
"meterId": "",
"quantity": 25.8,
"extendedUnit": "LinuxHourly"
}
],
"capabilities": [
{
"name": "vCPUs",
"value": "2"
},
{
"name": "MemoryGB",
"value": "8"
},
{
"name": "StorageGB",
"value": "256"
},
{
"name": "StorageType",
"value": "StandardSSD"
},
{
"name": "HyperVGenerations",
"value": "V1,V2"
},
{
"name": "IsGpu",
"value": "False"
}
]
}
]
}
Definitions
| Name | Description |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Lab |
Azure Lab Services resource SKUs |
|
Lab |
The array of capabilities of a lab services SKU. |
|
Lab |
The scale out/in options of the SKU. |
|
Lab |
The array of costs of a lab services SKU. |
|
Lab |
The restriction details. |
|
Lab |
The tier of the SKU. |
|
Paged |
Paged list of lab services skus. |
|
Restriction |
The reason for the restriction. |
|
Restriction |
The type of restriction. |
|
Scale |
The localized name of the resource. |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
LabServicesSku
Azure Lab Services resource SKUs
| Name | Type | Description |
|---|---|---|
| capabilities |
The capabilities of the SKU. |
|
| capacity |
The scale out/in options of the SKU. |
|
| costs |
Metadata for retrieving price info of a lab services SKUs. |
|
| family |
string |
The family of the SKU. |
| locations |
string[] |
List of locations that are available for a size. |
| name |
string |
The name of the SKU. |
| resourceType |
string |
The lab services resource type. |
| restrictions |
Restrictions of a lab services SKUs. |
|
| size |
string |
The SKU size. |
| tier |
The tier of the SKU. |
LabServicesSkuCapabilities
The array of capabilities of a lab services SKU.
| Name | Type | Description |
|---|---|---|
| name |
string |
The name of the capability for a SKU. |
| value |
string |
The value of the capability for a SKU. |
LabServicesSkuCapacity
The scale out/in options of the SKU.
| Name | Type | Description |
|---|---|---|
| default |
integer (int64) |
The default capacity for this resource. |
| maximum |
integer (int64) |
The highest permitted capacity for this resource. |
| minimum |
integer (int64) |
The lowest permitted capacity for this resource. |
| scaleType |
The localized name of the resource. |
LabServicesSkuCost
The array of costs of a lab services SKU.
| Name | Type | Description |
|---|---|---|
| extendedUnit |
string |
The extended unit. |
| meterId |
string |
The meter id. |
| quantity |
number |
The quantity of units charged. |
LabServicesSkuRestrictions
The restriction details.
| Name | Type | Description |
|---|---|---|
| reasonCode |
The reason for the restriction. |
|
| type |
The type of restriction. |
|
| values |
string[] |
The values of the restriction. |
LabServicesSkuTier
The tier of the SKU.
| Value | Description |
|---|---|
| Standard | |
| Premium |
PagedLabServicesSkus
Paged list of lab services skus.
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
The link to get the next page of sku results. |
| value |
The array page of sku results. |
RestrictionReasonCode
The reason for the restriction.
| Value | Description |
|---|---|
| QuotaId | |
| NotAvailableForSubscription |
RestrictionType
The type of restriction.
| Value | Description |
|---|---|
| Location |
ScaleType
The localized name of the resource.
| Value | Description |
|---|---|
| None |
The capacity is not adjustable in any way. |
| Manual |
The user must manually scale this SKU in and out. |
| Automatic |
The user is permitted to scale this SKU in and out. |