usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.ml_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. |
amlWorkspaceLocation | string | Region of the AML workspace in the id. |
currentValue | integer (int64) | The current usage of the resource. |
limit | integer (int64) | The maximum permitted usage of the resource. |
type | string | Specifies the resource type. |
unit | string | An enum describing the unit of usage measurement. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , location | 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. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
Gets the current usage information as well as limits for AML resources for given subscription and location.
SELECT
id,
name,
amlWorkspaceLocation,
currentValue,
limit,
type,
unit
FROM azure.ml_services.usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;