Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.machine_learning_services.usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringSpecifies the resource ID.
nameobjectThe name of the type of usage.
currentValueintegerThe current usage of the resource.
limitintegerThe maximum permitted usage of the resource.
typestringSpecifies the resource type.
unitstringAn enum describing the unit of usage measurement. "Count"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idGets 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. Required.
subscription_idstring

SELECT examples

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
;