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
subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

string

The API version to use for this operation.

$filter
query

string

The filter to apply to the operation.

Responses

Name Type Description
200 OK

PagedLabServicesSkus

The request was successful; response contains Azure Lab Services resource skus.

Other Status Codes

ErrorResponse

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
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

LabServicesSku

Azure Lab Services resource SKUs

LabServicesSkuCapabilities

The array of capabilities of a lab services SKU.

LabServicesSkuCapacity

The scale out/in options of the SKU.

LabServicesSkuCost

The array of costs of a lab services SKU.

LabServicesSkuRestrictions

The restriction details.

LabServicesSkuTier

The tier of the SKU.

PagedLabServicesSkus

Paged list of lab services skus.

RestrictionReasonCode

The reason for the restriction.

RestrictionType

The type of restriction.

ScaleType

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

LabServicesSku

Azure Lab Services resource SKUs

Name Type Description
capabilities

LabServicesSkuCapabilities[]

The capabilities of the SKU.

capacity

LabServicesSkuCapacity

The scale out/in options of the SKU.

costs

LabServicesSkuCost[]

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

LabServicesSkuRestrictions[]

Restrictions of a lab services SKUs.

size

string

The SKU size.

tier

LabServicesSkuTier

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

The default capacity for this resource.

maximum

integer

The highest permitted capacity for this resource.

minimum

integer

The lowest permitted capacity for this resource.

scaleType

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

RestrictionReasonCode

The reason for the restriction.

type

RestrictionType

The type of restriction.

values

string[]

The values of the restriction.

LabServicesSkuTier

The tier of the SKU.

Name Type Description
Premium

string

Standard

string

PagedLabServicesSkus

Paged list of lab services skus.

Name Type Description
nextLink

string

The link to get the next page of sku results.

value

LabServicesSku[]

The array page of sku results.

RestrictionReasonCode

The reason for the restriction.

Name Type Description
NotAvailableForSubscription

string

QuotaId

string

RestrictionType

The type of restriction.

Name Type Description
Location

string

ScaleType

The localized name of the resource.

Name Type Description
Automatic

string

The user is permitted to scale this SKU in and out.

Manual

string

The user must manually scale this SKU in and out.

None

string

The capacity is not adjustable in any way.