usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure.machine_learning_services.usages |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Specifies the resource ID. |
name | object | The name of the type of usage. |
currentValue | integer | The current usage of the resource. |
limit | integer | The maximum permitted usage of the resource. |
type | string | Specifies the resource type. |
unit | string | An enum describing the unit of usage measurement. "Count" |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id | Gets the current usage information as well as limits for AML resources for given subscription and location. |
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 for which resource usage is queried. Required. |
subscription_id | string |
SELECT examples
- list
Gets the current usage information as well as limits for AML resources for given subscription and location.
SELECT
id,
name,
currentValue,
limit,
type,
unit
FROM azure.machine_learning_services.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;