accounts_models
Creates, updates, deletes, gets or lists an accounts_models
resource.
Overview
Name | accounts_models |
Type | Resource |
Id | azure.cognitive_services.accounts_models |
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 |
---|---|---|
name | string | Deployment model name. |
baseModel | object | Properties of Cognitive Services account deployment model. |
callRateLimit | object | The call rate limit Cognitive Services account. |
capabilities | object | The capabilities. |
deprecation | object | Cognitive Services account ModelDeprecationInfo. |
finetuneCapabilities | object | The capabilities for finetune models. |
format | string | Deployment model format. |
isDefaultVersion | boolean | If the model is default version. |
lifecycleStatus | string | Model lifecycle status. |
maxCapacity | integer (int32) | The max capacity. |
skus | array | The list of Model Sku. |
source | string | Optional. Deployment model source ARM resource ID. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
version | string | Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , accountName , subscriptionId | List available Models 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 Models for the requested Cognitive Services account
SELECT
name,
baseModel,
callRateLimit,
capabilities,
deprecation,
finetuneCapabilities,
format,
isDefaultVersion,
lifecycleStatus,
maxCapacity,
skus,
source,
systemData,
version
FROM azure.cognitive_services.accounts_models
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;