Udostępnij za pośrednictwem


AccountsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update an account resource

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

account
Account

The account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates or updates an account

Applies to