Skip to main content

sku

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

Overview

Namesku
TypeResource
Idazure.devops_infrastructure.sku

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
capabilitiesarrayName value pairs to describe the capability. Required.
familystringThe family of the SKU. Required.
locationInfoarrayA list of locations and availability zones in those locations where the SKU is available. Required.
locationsarrayThe set of locations that the SKU is available. Required.
resourceTypestringThe type of resource the SKU applies to. Required.
restrictionsarrayThe restrictions of the SKU. Required.
sizestringThe size of the SKU. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tierstringThe tier of virtual machines in a scale set. Required.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectlocation_name, subscription_idList ResourceSku resources by subscription ID.

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
location_namestringName of the location. Required.
subscription_idstring

SELECT examples

List ResourceSku resources by subscription ID.

SELECT
id,
name,
capabilities,
family,
locationInfo,
locations,
resourceType,
restrictions,
size,
systemData,
tier,
type
FROM azure.devops_infrastructure.sku
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;