Skip to main content

resource_skus

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

Overview

Nameresource_skus
TypeResource
Idazure.storage_pool.resource_skus

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringSku name
apiVersionstringStoragePool RP API version
capabilitiesarrayList of additional capabilities for StoragePool resource.
locationInfoobjectZones and zone capabilities in those locations where the SKU is available.
resourceTypestringStoragePool resource type
restrictionsarrayThe restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
tierstringSku tier

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, locationLists 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.

NameDatatypeDescription
locationstringThe location of the resource.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Lists available StoragePool resources and skus in an Azure location.

SELECT
name,
apiVersion,
capabilities,
locationInfo,
resourceType,
restrictions,
tier
FROM azure.storage_pool.resource_skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;