NotificationHubsOperationsExtensions.CheckNotificationHubAvailabilityAsync Method

Definition

Checks the availability of the given notificationHub in a namespace.

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

Parameters

operations
INotificationHubsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

namespaceName
String

The namespace name.

parameters
CheckAvailabilityParameters

The notificationHub name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to