Delen via


NamespacesOperationsExtensions.CheckAvailabilityAsync Method

Definition

Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.CheckAvailabilityResult> CheckAvailabilityAsync (this Microsoft.Azure.Management.NotificationHubs.INamespacesOperations operations, Microsoft.Azure.Management.NotificationHubs.Models.CheckAvailabilityParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckAvailabilityAsync : Microsoft.Azure.Management.NotificationHubs.INamespacesOperations * Microsoft.Azure.Management.NotificationHubs.Models.CheckAvailabilityParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.CheckAvailabilityResult>
<Extension()>
Public Function CheckAvailabilityAsync (operations As INamespacesOperations, parameters As CheckAvailabilityParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckAvailabilityResult)

Parameters

operations
INamespacesOperations

The operations group for this extension method.

parameters
CheckAvailabilityParameters

The namespace name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to