resource_skus
Creates, updates, deletes, gets or lists a resource_skus resource.
Overview
| Name | resource_skus |
| Type | Resource |
| Id | azure_extras.storage_pool.resource_skus |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Sku name. |
apiVersion | string | StoragePool RP API version. |
capabilities | array | List of additional capabilities for StoragePool resource. |
locationInfo | object | Zones and zone capabilities in those locations where the SKU is available. |
resourceType | string | StoragePool resource type. |
restrictions | array | The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. |
tier | string | Sku tier. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id | Lists available StoragePool resources and skus in an Azure location. |
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 | string | The location of the resource. Required. |
subscription_id | string |
SELECT examples
- list
Lists available StoragePool resources and skus in an Azure location.
SELECT
name,
apiVersion,
capabilities,
locationInfo,
resourceType,
restrictions,
tier
FROM azure_extras.storage_pool.resource_skus
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;