Skip to main content

quotas

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

Overview

Namequotas
TypeResource
Idazure.ml_services.quotas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringSpecifies the resource ID.
nameobjectName of the resource.
amlWorkspaceLocationstringRegion of the AML workspace in the id.
limitinteger (int64)The maximum permitted quota of the resource. (title: Limit.)
typestringSpecifies the resource type.
unitstringAn enum describing the unit of quota measurement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, locationGets the currently assigned Workspace Quotas based on VMFamily.
updateexeclocation, subscriptionIdUpdate quota for each VM family in workspace.

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 update quota is queried.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the currently assigned Workspace Quotas based on VMFamily.

SELECT
id,
name,
amlWorkspaceLocation,
limit,
type,
unit
FROM azure.ml_services.quotas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;

Lifecycle Methods

Update quota for each VM family in workspace.

EXEC azure.ml_services.quotas.update 
@location='{{ location }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"value": "{{ value }}",
"location": "{{ location }}"
}'
;