Skip to main content

model_capacities

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

Overview

Namemodel_capacities
TypeResource
Idazure.cognitive_services.model_capacities

Fields

The following fields are returned by SELECT queries:

OK. Successfully retrieved modelCapacities.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, modelFormat, modelName, modelVersionList 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.

NameDatatypeDescription
modelFormatstringThe format of the Model
modelNamestringThe name of the Model
modelVersionstringThe version of the Model
subscriptionIdstringThe ID of the target subscription.

SELECT examples

List ModelCapacities.

SELECT
id,
name,
type
FROM azure.cognitive_services.model_capacities
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND modelFormat = '{{ modelFormat }}' -- required
AND modelName = '{{ modelName }}' -- required
AND modelVersion = '{{ modelVersion }}' -- required
;