Skip to main content

skus

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

Overview

Nameskus
TypeResource
Idazure.devcenter.skus

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the SKU. Ex - P3. It is typically a letter+number code. Required.
capabilitiesarrayCollection of name/value pairs to describe the SKU capabilities.
capacityintegerIf the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
familystringIf the service has different generations of hardware, for the same SKU, then that can be captured here.
locationsarraySKU supported locations.
resourceTypestringThe name of the resource type.
sizestringThe SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tierstringThis field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Known values are: "Free", "Basic", "Standard", and "Premium".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_subscriptionselectsubscription_id$topLists the Microsoft.DevCenter SKUs available in a 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
subscription_idstring
$topintegerThe maximum number of resources to return from the operation. Example: '$top=10'. Default value is None.

SELECT examples

Lists the Microsoft.DevCenter SKUs available in a subscription.

SELECT
name,
capabilities,
capacity,
family,
locations,
resourceType,
size,
tier
FROM azure.devcenter.skus
WHERE subscription_id = '{{ subscription_id }}' -- required
AND $top = '{{ $top }}'
;