VaultsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.CheckNameAvailabilityResultInner> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.CheckNameAvailabilityResultInner>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IVaultsOperations, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResultInner)

Parameters

operations
IVaultsOperations

The operations group for this extension method.

name
String

The vault name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to