Skip to main content

accounts_skus

Creates, updates, deletes, gets or lists an accounts_skus resource.

Overview

Nameaccounts_skus
TypeResource
Idazure.cognitive_services.accounts_skus

Fields

The following fields are returned by SELECT queries:

The resource provider should return 200 (OK) to indicate that the operation completed successfully.
For a detailed explanation of each field in the response body, please refer to the request body description in the PUT resource section. The only GET specific properties are "name," "type" and "id."
Field Description
sku Required, object
The exact set of keys that define this sku. This matches the fields on the respective resource.
sku.name Required, string
The name of the SKU. This is typically a letter + number code, such as A0 or P3
sku.tier Required, string
The tier of this particular SKU. Typically one of:
· Free
· Basic
· Standard
· Premium

NameDatatypeDescription
resourceTypestringResource Namespace and Type
skuobjectThe resource model definition representing SKU

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, accountName, subscriptionIdList available SKUs for the requested Cognitive Services account

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
accountNamestringThe name of Cognitive Services account.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

List available SKUs for the requested Cognitive Services account

SELECT
resourceType,
sku
FROM azure.cognitive_services.accounts_skus
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;