Lingua

MachineLearningExtensions.Update Method

Definition

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

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