Share via


DataLakeAnalyticsAccountResource.UpdateAsync Method

Definition

Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.

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

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

patch
DataLakeAnalyticsAccountPatch

Parameters supplied to the update Data Lake Analytics account operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to