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

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
listselectsubscriptionId$filter, includeExtendedLocationsGets the list of Microsoft.Compute SKUs available for your Subscription.

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
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$filterstringThe filter to apply on the operation. Only location filter is supported currently.
includeExtendedLocationsstringTo Include Extended Locations information or not in the response.

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 }}' -- required
AND $filter = '{{ $filter }}'
AND includeExtendedLocations = '{{ includeExtendedLocations }}'
;