Share via


ServiceBusNamespaceAuthorizationRuleCollection.GetAll Method

Definition

Gets the authorization rules for a namespace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to