ISqlServersBeta.CheckNameAvailabilityAsync(String, CancellationToken) Method

Definition

Checks if container registry name is valid and is not in use asynchronously.

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

Parameters

name
System.String

The container registry name to check.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<ICheckNameAvailabilityResult>

Applies to