共用方式為


DataLakeAnalyticsComputePolicyResource.UpdateAsync Method

Definition

Updates the specified compute policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Operation Id: ComputePolicies_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource>> UpdateAsync (Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource>>
override this.UpdateAsync : Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource>>
Public Overridable Function UpdateAsync (patch As DataLakeAnalyticsComputePolicyPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataLakeAnalyticsComputePolicyResource))

Parameters

patch
DataLakeAnalyticsComputePolicyPatch

Parameters supplied to update the compute policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to