Share via


AccountsOperationsExtensions.CreateAsync Method

Definition

Creates or updates Account.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Account> CreateAsync (this Microsoft.Azure.Management.DeviceUpdate.IAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.DeviceUpdate.Models.Account account, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DeviceUpdate.IAccountsOperations * string * string * Microsoft.Azure.Management.DeviceUpdate.Models.Account * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Account>
<Extension()>
Public Function CreateAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, account As Account, 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.

account
Account

Account details.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to