Udostępnij za pośrednictwem


IStorageAccounts.CheckNameAvailabilityAsync(String, CancellationToken) Method

Definition

Checks that account name is valid and is not in use asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Fluent.CheckNameAvailabilityResult>
Public Function CheckNameAvailabilityAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

Parameters

name
String

The account name to check.

cancellationToken
CancellationToken

Returns

Applies to