Partager via


DataLakeAnalyticsComputePolicyResource.UpdateAsync Méthode

Définition

Mises à jour la stratégie de calcul spécifiée.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
  • IdComputePolicies_Update d’opération
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))

Paramètres

patch
DataLakeAnalyticsComputePolicyPatch

Paramètres fournis pour mettre à jour la stratégie de calcul.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à