Skip to main content

virtual_machine_scale_sets_skus

Creates, updates, deletes, gets or lists a virtual_machine_scale_sets_skus resource.

Overview

Namevirtual_machine_scale_sets_skus
TypeResource
Idazure.compute.virtual_machine_scale_sets_skus

Fields

NameDatatypeDescription
capacityobjectDescribes scaling information of a sku.
resourceTypestringThe type of resource the sku applies to.
skuobjectDescribes 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.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, vmScaleSetNameGets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

SELECT examples

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

SELECT
capacity,
resourceType,
sku
FROM azure.compute.virtual_machine_scale_sets_skus
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmScaleSetName = '{{ vmScaleSetName }}';