NotificationHubNamespaceCollection.GetAllAsync Method

Definition

Lists the available namespaces within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces
  • Operation Id: Namespaces_List
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource> 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.NotificationHubNamespaceResource>
override this.GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NotificationHubNamespaceResource)

Parameters

skipToken
String

Skip token for subsequent requests.

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to