NotificationHubCollection.GetAllAsync Method

Definition

Lists the notification hubs associated with a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs
  • Operation Id: NotificationHubs_List
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NotificationHubs.NotificationHubResource> GetAllAsync (string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NotificationHubs.NotificationHubResource>
override this.GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NotificationHubs.NotificationHubResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NotificationHubResource)

Parameters

skipToken
String

Continuation token.

top
Nullable<Int32>

Page size.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NotificationHubResource that may take multiple service requests to iterate over.

Applies to