skus
Creates, updates, deletes, gets or lists a skus resource.
Overview
| Name | skus |
| Type | Resource |
| Id | azure.storage.skus |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. Required. Known values are: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS", "StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS". (Standard_LRS, Standard_GRS, Standard_RAGRS, Standard_ZRS, Premium_LRS, Premium_ZRS, Standard_GZRS, Standard_RAGZRS, StandardV2_LRS, StandardV2_GRS, StandardV2_ZRS, StandardV2_GZRS, PremiumV2_LRS, PremiumV2_ZRS) |
capabilities | array | The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. |
kind | string | Indicates the type of storage account. Known values are: "Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage". (Storage, StorageV2, BlobStorage, FileStorage, BlockBlobStorage) |
locationInfo | array | :vartype location_info: list[~azure.mgmt.storage.models.SkuInformationLocationInfoItem] |
locations | array | The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). |
resourceType | string | The type of the resource, usually it is 'storageAccounts'. |
restrictions | array | The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. |
tier | string | The SKU tier. This is based on the SKU name. Known values are: "Standard" and "Premium". (Standard, Premium) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscription_id | Lists the available SKUs supported by Microsoft.Storage for given 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 |
SELECT examples
- list
Lists the available SKUs supported by Microsoft.Storage for given subscription.
SELECT
name,
capabilities,
kind,
locationInfo,
locations,
resourceType,
restrictions,
tier
FROM azure.storage.skus
WHERE subscription_id = '{{ subscription_id }}' -- required
;