Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.ml_services.usages

Fields

NameDatatypeDescription
idstringSpecifies the resource ID.
nameobjectThe Usage Names.
amlWorkspaceLocationstringRegion of the AML workspace in the id.
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.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdGets the current usage information as well as limits for AML resources for given subscription and location.

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 location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';