Share via


ComputePoliciesOperationsExtensions.UpdateAsync Method

Definition

Updates the specified compute policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy> UpdateAsync(this Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations operations, string resourceGroupName, string accountName, string computePolicyName, Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateComputePolicyParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.UpdateComputePolicyParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy>
<Extension()>
Public Function UpdateAsync (operations As IComputePoliciesOperations, resourceGroupName As String, accountName As String, computePolicyName As String, Optional parameters As UpdateComputePolicyParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComputePolicy)

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Azure resource group.

accountName
System.String

The name of the Data Lake Analytics account.

computePolicyName
System.String

The name of the compute policy to update.

parameters
UpdateComputePolicyParameters

Parameters supplied to update the compute policy.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ComputePolicy>

Applies to