MockableNotificationHubsSubscriptionResource.GetNotificationHubNamespaces Method

Definition

Lists all the available namespaces within the subscription.

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

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

Applies to