sku
Creates, updates, deletes, gets or lists a sku resource.
Overview
| Name | sku |
| Type | Resource |
| Id | azure.devops_infrastructure.sku |
Fields
The following fields are returned by SELECT queries:
- list_by_location
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
capabilities | array | Name value pairs to describe the capability. Required. |
family | string | The family of the SKU. Required. |
locationInfo | array | A list of locations and availability zones in those locations where the SKU is available. Required. |
locations | array | The set of locations that the SKU is available. Required. |
resourceType | string | The type of resource the SKU applies to. Required. |
restrictions | array | The restrictions of the SKU. Required. |
size | string | The size of the SKU. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tier | string | The tier of virtual machines in a scale set. Required. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_location | select | location_name, subscription_id | List 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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | Name of the location. Required. |
subscription_id | string |
SELECT examples
- list_by_location
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
;