StorageAccountsOperationsExtensions.CheckNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks that the storage account name is valid and is not already in use.
public static System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.IStorageAccountsOperations operations, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.IStorageAccountsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IStorageAccountsOperations, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)
Parameters
- operations
- IStorageAccountsOperations
The operations group for this extension method.
- name
- String
The storage account name.
- cancellationToken
- CancellationToken
The cancellation token.