Skip to main content

resource_skus

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

Overview

Nameresource_skus
TypeResource
Idazure.compute.resource_skus

Fields

NameDatatypeDescription
namestringThe name of SKU.
apiVersionsarrayThe api versions that support this SKU.
capabilitiesarrayA name value pair to describe the capability.
capacityobjectDescribes scaling information of a SKU.
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

NameAccessible byRequired ParamsDescription
listSELECTsubscriptionIdGets the list of Microsoft.Compute SKUs available for your Subscription.

SELECT examples

Gets the list of Microsoft.Compute SKUs available for your Subscription.

SELECT
name,
apiVersions,
capabilities,
capacity,
costs,
family,
kind,
locationInfo,
locations,
resourceType,
restrictions,
size,
tier
FROM azure.compute.resource_skus
WHERE subscriptionId = '{{ subscriptionId }}';