Skip to main content

vm_skus

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

Overview

Namevm_skus
TypeResource
Idazure.container_service.vm_skus

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of SKU.
apiVersionsarrayThe api versions that support this SKU.
capabilitiesarrayA name value pair to describe the capability.
capacityobjectSpecifies the number of virtual machines in the scale set.
costsarrayMetadata for retrieving price info.
familystringThe Family of this particular SKU.
kindstringThe Kind of resources that are supported in this SKU.
locationInfoarrayA list of locations and availability zones in those locations where the SKU is available.
locationsarrayThe set of locations that the SKU is available.
resourceTypestringThe type of resource the SKU applies to.
restrictionsarrayThe restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
sizestringThe Size of the SKU.
tierstringSpecifies the tier of virtual machines in a scale set. Possible Values: Standard Basic.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idincludeExtendedLocationsGets the list of VM SKUs accepted by AKS. Gets the list of VM SKUs accepted by AKS when creating node pools in a specified location. AKS will perform a best effort approach to provision the requested VM SKUs, but availability is not guaranteed.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe name of the Azure region. Required.
subscription_idstring
includeExtendedLocationsbooleanTo Include Extended Locations information or not in the response. Default value is None.

SELECT examples

Gets the list of VM SKUs accepted by AKS. Gets the list of VM SKUs accepted by AKS when creating node pools in a specified location. AKS will perform a best effort approach to provision the requested VM SKUs, but availability is not guaranteed.

SELECT
name,
apiVersions,
capabilities,
capacity,
costs,
family,
kind,
locationInfo,
locations,
resourceType,
restrictions,
size,
tier
FROM azure.container_service.vm_skus
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND includeExtendedLocations = '{{ includeExtendedLocations }}'
;