Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.ml_services.usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringSpecifies the resource ID.
nameobjectThe name of the type of usage.
amlWorkspaceLocationstringRegion of the AML workspace in the id.
currentValueinteger (int64)The current usage of the resource.
limitinteger (int64)The maximum permitted usage of the resource.
typestringSpecifies the resource type.
unitstringAn enum describing the unit of usage measurement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, locationGets 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.

NameDatatypeDescription
locationstringThe location for which resource usage is queried.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

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
;