Aracılığıyla paylaş


NotificationHubAuthorizationRuleCollection.GetAll(CancellationToken) Method

Definition

Gets the authorization rules for a NotificationHub.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to