ServicesOperationsExtensions.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.
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
- parameters
- NameAvailabilityRequest
- cancellationToken
- CancellationToken
The cancellation token.