ภาษา

MachineLearningExtensions.UpdateAsync Method

Definition

Update quota for each VM family in workspace. <item> Mocking. To mock this method, please mock UpdateAsync(AzureLocation, MachineLearningQuotaUpdateContent, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaStatusResult>> UpdateAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MachineLearning.Models.MachineLearningQuotaUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceQuotaStatusResult>>
<Extension()>
Public Function UpdateAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As MachineLearningQuotaUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningWorkspaceQuotaStatusResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location name.

content
MachineLearningQuotaUpdateContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to