Condividi tramite


NotificationHubNamespaceAuthorizationRuleCollection.GetAll Method

Definition

Gets the authorization rules for a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules
  • Operation Id: Namespaces_ListAuthorizationRules
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceAuthorizationRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceAuthorizationRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceAuthorizationRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceAuthorizationRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NotificationHubNamespaceAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to