Udostępnij za pośrednictwem


AccountsOperationsExtensions.BeginCreateAsync Method

Definition

Create an account in the given resource group

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

The name of the share account.

account
Account

The account payload.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create an account

Applies to