Udostępnij za pośrednictwem


AccountsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Checks the account name availability.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Purview.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Purview.IAccountsOperations operations, Microsoft.Azure.Management.Purview.Models.CheckNameAvailabilityRequest checkNameAvailabilityRequest, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Purview.IAccountsOperations * Microsoft.Azure.Management.Purview.Models.CheckNameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Purview.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IAccountsOperations, checkNameAvailabilityRequest As CheckNameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

Parameters

operations
IAccountsOperations

The operations group for this extension method.

checkNameAvailabilityRequest
CheckNameAvailabilityRequest

The check name availability request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Checks if account name is available.

Applies to