Skip to main content

resource_skus

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

Overview

Nameresource_skus
TypeResource
Idazure.cognitive_services.resource_skus

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of SKU.
kindstringThe Kind of resources that are supported in this SKU.
locationsarrayThe set of locations that the SKU is available.
resourceTypestringThe type of resource the SKU applies to.
restrictionsarrayThe restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
tierstringSpecifies the tier of Cognitive Services account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionIdGets the list of Microsoft.CognitiveServices SKUs available for your 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
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.

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