accounts_skus
Creates, updates, deletes, gets or lists an accounts_skus
resource.
Overview
Name | accounts_skus |
Type | Resource |
Id | azure.cognitive_services.accounts_skus |
Fields
The following fields are returned by SELECT
queries:
- list
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
Name | Datatype | Description |
---|---|---|
resourceType | string | Resource Namespace and Type |
sku | object | The resource model definition representing SKU |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , accountName , subscriptionId | List 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.
Name | Datatype | Description |
---|---|---|
accountName | string | The name of Cognitive Services account. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
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
;