StorageAccountsOperations.CheckNameAvailability(StorageAccountCheckNameAvailabilityParameters, CancellationToken) Method

Definition

Checks that the storage account name is valid and is not already in use.

public virtual Azure.Response<Azure.ResourceManager.Storage.Models.CheckNameAvailabilityResult> CheckNameAvailability (Azure.ResourceManager.Storage.Models.StorageAccountCheckNameAvailabilityParameters accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailability : Azure.ResourceManager.Storage.Models.StorageAccountCheckNameAvailabilityParameters * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.Models.CheckNameAvailabilityResult>
override this.CheckNameAvailability : Azure.ResourceManager.Storage.Models.StorageAccountCheckNameAvailabilityParameters * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.Models.CheckNameAvailabilityResult>
Public Overridable Function CheckNameAvailability (accountName As StorageAccountCheckNameAvailabilityParameters, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckNameAvailabilityResult)

Parameters

accountName
StorageAccountCheckNameAvailabilityParameters

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<CheckNameAvailabilityResult>

Applies to