skus
Creates, updates, deletes, gets or lists a skus resource.
Overview
| Name | skus |
| Type | Resource |
| Id | azure.devcenter.skus |
Fields
The following fields are returned by SELECT queries:
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the SKU. Ex - P3. It is typically a letter+number code. Required. |
capabilities | array | Collection of name/value pairs to describe the SKU capabilities. |
capacity | integer | If 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. |
family | string | If the service has different generations of hardware, for the same SKU, then that can be captured here. |
locations | array | SKU supported locations. |
resourceType | string | The name of the resource type. |
size | string | The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. |
tier | string | This 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_subscription | select | subscription_id | $top | Lists 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.
| Name | Datatype | Description |
|---|---|---|
subscription_id | string | |
$top | integer | The maximum number of resources to return from the operation. Example: '$top=10'. Default value is None. |
SELECT examples
- list_by_subscription
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 }}'
;