Skip to main content

skus

Creates, updates, deletes, gets or lists a skus resource.

Overview

Nameskus
TypeResource
Idazure.storage.skus

Fields

The following fields are returned by SELECT queries:

OK -- List of storage SKUs in the given subscription retrieved and returned successfully.

NameDatatypeDescription
namestringThe SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
capabilitiesarrayThe capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
kindstringIndicates the type of storage account.
locationsarrayThe 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.).
resourceTypestringThe type of the resource, usually it is 'storageAccounts'.
restrictionsarrayThe restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
tierstringThe SKU tier. This is based on the SKU name.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionIdLists 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.

NameDatatypeDescription
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Lists the available SKUs supported by Microsoft.Storage for given subscription.

SELECT
name,
capabilities,
kind,
locations,
resourceType,
restrictions,
tier
FROM azure.storage.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;