Sdílet prostřednictvím


ComputePoliciesOperationsExtensions.UpdateAsync Method

Definition

Overloads

UpdateAsync(IComputePoliciesOperations, String, String, String, ComputePolicy, CancellationToken)

Updates the specified compute policy.

UpdateAsync(IComputePoliciesOperations, String, String, String, UpdateComputePolicyParameters, CancellationToken)

Updates the specified compute policy.

UpdateAsync(IComputePoliciesOperations, String, String, String, ComputePolicy, CancellationToken)

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.ComputePolicy 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.ComputePolicy * 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 ComputePolicy = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComputePolicy)

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group that contains the Data Lake Analytics account.

accountName
String

The name of the Data Lake Analytics account to which to update the compute policy.

computePolicyName
String

The name of the compute policy to update.

parameters
ComputePolicy

Parameters supplied to update the compute policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

UpdateAsync(IComputePoliciesOperations, String, String, String, UpdateComputePolicyParameters, CancellationToken)

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
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

computePolicyName
String

The name of the compute policy to update.

parameters
UpdateComputePolicyParameters

Parameters supplied to update the compute policy.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to