Share via


MockableMachineLearningSubscriptionResource.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 virtual Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaUpdate> UpdateMachineLearningQuotasAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMachineLearningQuotasAsync : Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaUpdate>
override this.UpdateMachineLearningQuotasAsync : Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaUpdate>
Public Overridable Function UpdateMachineLearningQuotasAsync (location As AzureLocation, content As MachineLearningQuotaUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MachineLearningWorkspaceQuotaUpdate)

Parameters

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

content is null.

Applies to