Share via


MachineLearningExtensions.UpdateMachineLearningQuotasAsync Method

Definition

Update quota for each VM family in workspace.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas
  • Operation Id: Quotas_Update
  • Default Api Version: 2024-04-01
public static Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaUpdate> UpdateMachineLearningQuotasAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
static member UpdateMachineLearningQuotasAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaUpdate>
<Extension()>
Public Function UpdateMachineLearningQuotasAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As MachineLearningQuotaUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningWorkspaceQuotaUpdate)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The location for update quota is queried.

content
MachineLearningQuotaUpdateContent

Quota update parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MachineLearningWorkspaceQuotaUpdate that may take multiple service requests to iterate over.

Exceptions

subscriptionResource or content is null.

Applies to