Virtual Machine Scale Sets - List Skus

Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

HTTP
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus?api-version=2021-03-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group.

subscriptionId
path True

string

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

vmScaleSetName
path True

string

The name of the VM scale set.

api-version
query True

string

Client Api Version.

Responses

Name Type Description
200 OK

VirtualMachineScaleSetListSkusResult

OK

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

Name Description
Sku

Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

VirtualMachineScaleSetListSkusResult

The Virtual Machine Scale Set List Skus operation response.

VirtualMachineScaleSetSku

Describes an available virtual machine scale set sku.

VirtualMachineScaleSetSkuCapacity

Describes scaling information of a sku.

VirtualMachineScaleSetSkuScaleType

The scale type applicable to the sku.

Sku

Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

Name Type Description
capacity

integer

Specifies the number of virtual machines in the scale set.

name

string

The sku name.

tier

string

Specifies the tier of virtual machines in a scale set.

Possible Values:

Standard

Basic

VirtualMachineScaleSetListSkusResult

The Virtual Machine Scale Set List Skus operation response.

Name Type Description
nextLink

string

The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.

value

VirtualMachineScaleSetSku[]

The list of skus available for the virtual machine scale set.

VirtualMachineScaleSetSku

Describes an available virtual machine scale set sku.

Name Type Description
capacity

VirtualMachineScaleSetSkuCapacity

Specifies the number of virtual machines in the scale set.

resourceType

string

The type of resource the sku applies to.

sku

Sku

The Sku.

VirtualMachineScaleSetSkuCapacity

Describes scaling information of a sku.

Name Type Description
defaultCapacity

integer

The default capacity.

maximum

integer

The maximum capacity that can be set.

minimum

integer

The minimum capacity.

scaleType

VirtualMachineScaleSetSkuScaleType

The scale type applicable to the sku.

VirtualMachineScaleSetSkuScaleType

The scale type applicable to the sku.

Value Description
Automatic
None