Share via


AccountsOperationsExtensions.UpdateAsync Method

Definition

Updates account's patchable properties

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Account> UpdateAsync (this Microsoft.Azure.Management.DeviceUpdate.IAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.DeviceUpdate.Models.AccountUpdate accountUpdatePayload, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DeviceUpdate.IAccountsOperations * string * string * Microsoft.Azure.Management.DeviceUpdate.Models.AccountUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Account>
<Extension()>
Public Function UpdateAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, accountUpdatePayload As AccountUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Account)

Parameters

operations
IAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

Account name.

accountUpdatePayload
AccountUpdate

Updated Account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to