skus
Creates, updates, deletes, gets or lists a skus
resource.
Overview
Name | skus |
Type | Resource |
Id | azure.dev_center.skus |
Fields
The following fields are returned by SELECT
queries:
- list_by_project
- list_by_subscription
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
name | string | The name of the SKU. Ex - P3. It is typically a letter+number code |
capabilities | array | Collection of name/value pairs to describe the SKU capabilities. |
capacity | integer (int32) | 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. |
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
name | string | The name of the SKU. Ex - P3. It is typically a letter+number code |
capabilities | array | Collection of name/value pairs to describe the SKU capabilities. |
capacity | integer (int32) | 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. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_project | select | subscriptionId , resourceGroupName , projectName | Lists SKUs available to the project | |
list_by_subscription | select | 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 |
---|---|---|
projectName | string | The name of the project. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list_by_project
- list_by_subscription
Lists SKUs available to the project
SELECT
name,
capabilities,
capacity,
family,
locations,
resourceType,
size,
tier
FROM azure.dev_center.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND projectName = '{{ projectName }}' -- required
;
Lists the Microsoft.DevCenter SKUs available in a subscription
SELECT
name,
capabilities,
capacity,
family,
locations,
resourceType,
size,
tier
FROM azure.dev_center.skus
;