managed_compute_capacities
Creates, updates, deletes, gets or lists a managed_compute_capacities resource.
Overview
| Name | managed_compute_capacities |
| Type | Resource |
| Id | azure.cognitive_services.managed_compute_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. |
acceleratorType | string | The type of accelerator (e.g., Azure.A100, Azure.H100). |
availableAccelerators | integer | The number of available accelerators in the region. |
deploymentSizeCapacities | array | Capacity information broken down by deployment size. |
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 | subscription_id, offer | acceleratorType, deploymentId | Gets the managed compute capacities for a subscription. Returns available capacity per accelerator type, including deployment size information. |
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 |
|---|---|---|
offer | string | The offer name to query capacity for (required). Required. |
subscription_id | string | |
acceleratorType | string | Optional accelerator type filter to narrow results to a specific accelerator type. Default value is None. |
deploymentId | string | Optional deployment resource ID. When provided, returns capacity for the specific region where the deployment is hosted rather than the best available region. Default value is None. |
SELECT examples
- list
Gets the managed compute capacities for a subscription. Returns available capacity per accelerator type, including deployment size information.
SELECT
id,
name,
acceleratorType,
availableAccelerators,
deploymentSizeCapacities,
systemData,
type
FROM azure.cognitive_services.managed_compute_capacities
WHERE subscription_id = '{{ subscription_id }}' -- required
AND offer = '{{ offer }}' -- required
AND acceleratorType = '{{ acceleratorType }}'
AND deploymentId = '{{ deploymentId }}'
;