location_based_model_capacities
Creates, updates, deletes, gets or lists a location_based_model_capacities resource.
Overview
| Name | location_based_model_capacities |
| Type | Resource |
| Id | azure.cognitive_services.location_based_model_capacities |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
availableCapacity | number | The available capacity for deployment with this model and sku. |
availableFinetuneCapacity | number | The available capacity for deployment with a fine-tune version of this model and sku. |
location | string | The location of the Model Sku Capacity. |
model | object | Properties of Cognitive Services account deployment model. |
scopeId | string | The scope identifier for model SKU capacity. |
scopeType | string | The scope type for model SKU capacity. Known values are: "Regional", "Global", "DataZone", and "Classic". (Regional, Global, DataZone, Classic) |
skuName | string | :vartype sku_name: str |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id, modelFormat, modelName, modelVersion | List Location Based ModelCapacities. |
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 |
|---|---|---|
location | string | The location name. Required. |
modelFormat | string | The format of the Model. Required. |
modelName | string | The name of the Model. Required. |
modelVersion | string | The version of the Model. Required. |
subscription_id | string |
SELECT examples
- list
List Location Based ModelCapacities.
SELECT
id,
name,
availableCapacity,
availableFinetuneCapacity,
location,
model,
scopeId,
scopeType,
skuName,
systemData,
type
FROM azure.cognitive_services.location_based_model_capacities
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND modelFormat = '{{ modelFormat }}' -- required
AND modelName = '{{ modelName }}' -- required
AND modelVersion = '{{ modelVersion }}' -- required
;