ServersOperationsExtensions.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.
Determines whether a resource can be created with the specified name.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Sql.IServersOperations operations, Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Sql.IServersOperations * Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IServersOperations, parameters As CheckNameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResponse)
Parameters
- operations
- IServersOperations
The operations group for this extension method.
- parameters
- CheckNameAvailabilityRequest
The name availability request parameters.
- cancellationToken
- CancellationToken
The cancellation token.