语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

MockableMachineLearningSubscriptionResource.UpdateAsync Method

Definition

Update quota for each VM family in workspace.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas.
  • Operation Id. : QuotasOperationGroup_Update.
  • Default Api Version. : 2026-07-01.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaStatusResult>> UpdateAsync(Azure.Core.AzureLocation location, Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaStatusResult>>
override this.UpdateAsync : Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaStatusResult>>
Public Overridable Function UpdateAsync (location As AzureLocation, content As MachineLearningQuotaUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningWorkspaceQuotaStatusResult))

Parameters

location
AzureLocation

The location name.

content
MachineLearningQuotaUpdateContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to