Freigeben über


DataLakeAnalyticsComputePolicyResource.UpdateAsync Methode

Definition

Updates die angegebene Computerichtlinie.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • Vorgang IdComputePolicies_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))

Parameter

patch
DataLakeAnalyticsComputePolicyPatch

Parameter, die zum Aktualisieren der Computerichtlinie angegeben werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: