Quotas - Update
Update quota for each VM family in workspace.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The location for update quota is queried. Regex pattern: |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Type | Description |
---|---|---|
location |
string |
Region of workspace quota to be updated. |
value |
The list for update quota. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The operation was successful. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
update quotas
Sample request
POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MachineLearningServices/locations/eastus/updateQuotas?api-version=2024-04-01
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"limit": 100,
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"limit": 200,
"unit": "Count"
}
]
}
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"limit": 100,
"unit": "Count",
"status": "Success"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"limit": 200,
"unit": "Count",
"status": "Success"
}
]
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Quota |
The properties for Quota update or retrieval. |
Quota |
An enum describing the unit of quota measurement. |
Quota |
Quota update parameters. |
status |
Update Workspace Quota Status. |
Update |
The properties for update Quota response. |
Update |
The result of update workspace quota. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
QuotaBaseProperties
The properties for Quota update or retrieval.
Name | Type | Description |
---|---|---|
id |
string |
Specifies the resource ID. |
limit |
integer |
Limit. |
type |
string |
Specifies the resource type. |
unit |
An enum describing the unit of quota measurement. |
QuotaUnit
An enum describing the unit of quota measurement.
Name | Type | Description |
---|---|---|
Count |
string |
QuotaUpdateParameters
Quota update parameters.
Name | Type | Description |
---|---|---|
location |
string |
Region of workspace quota to be updated. |
value |
The list for update quota. |
status
Update Workspace Quota Status.
Name | Type | Description |
---|---|---|
Failure |
string |
|
InvalidQuotaBelowClusterMinimum |
string |
|
InvalidQuotaExceedsSubscriptionLimit |
string |
|
InvalidVMFamilyName |
string |
|
OperationNotEnabledForRegion |
string |
|
OperationNotSupportedForSku |
string |
|
Success |
string |
|
Undefined |
string |
UpdateWorkspaceQuotas
The properties for update Quota response.
Name | Type | Description |
---|---|---|
id |
string |
Specifies the resource ID. |
limit |
integer |
Limit. |
status |
Update Workspace Quota Status. |
|
type |
string |
Specifies the resource type. |
unit |
An enum describing the unit of quota measurement. |
UpdateWorkspaceQuotasResult
The result of update workspace quota.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. |
value |
The list of workspace quota update result. |