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.
Checks that the resource name is valid and is not already in use.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.NameAvailability> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.AppPlatform.IServicesOperations operations, string location, Microsoft.Azure.Management.AppPlatform.Models.NameAvailabilityParameters availabilityParameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.AppPlatform.IServicesOperations * string * Microsoft.Azure.Management.AppPlatform.Models.NameAvailabilityParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.NameAvailability>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IServicesOperations, location As String, availabilityParameters As NameAvailabilityParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NameAvailability)
Parameters
- operations
- IServicesOperations
The operations group for this extension method.
- location
- String
the region
- availabilityParameters
- NameAvailabilityParameters
Parameters supplied to the operation.
- cancellationToken
- CancellationToken
The cancellation token.