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
<item>MockingTo mock this method, please mock UpdateMachineLearningQuotas(AzureLocation, MachineLearningQuotaUpdateContent, CancellationToken) instead.</item>
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