Udostępnij za pośrednictwem


ServicesOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

This method checks whether a proposed top-level resource name is valid and available.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.NameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string location, Microsoft.Azure.Management.DataMigration.Models.NameAvailabilityRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * Microsoft.Azure.Management.DataMigration.Models.NameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.NameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IServicesOperations, location As String, parameters As NameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NameAvailabilityResponse)

Parameters

operations
IServicesOperations

The operations group for this extension method.

location
String

The Azure region of the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to