Udostępnij za pośrednictwem


StorageAccountOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

The Check Name Availability operation checks if a storage account name is available for use in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154125.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.CheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations operations, string accountName);
static member CheckNameAvailabilityAsync : Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IStorageAccountOperations, accountName As String) As Task(Of CheckNameAvailabilityResponse)

Parameters

operations
IStorageAccountOperations

Reference to the Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.

accountName
String

Required. The desired storage account name to check for availability.

Returns

The response to a storage account check name availability request.

Applies to