DisasterRecoveryConfigsOperations.ListAuthorizationRules(String, String, String, CancellationToken) Method

Definition

Gets a list of authorization rules for a Namespace.

public virtual Azure.Pageable<Azure.ResourceManager.EventHubs.Models.AuthorizationRule> ListAuthorizationRules (string resourceGroupName, string namespaceName, string alias, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAuthorizationRules : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.Models.AuthorizationRule>
override this.ListAuthorizationRules : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventHubs.Models.AuthorizationRule>
Public Overridable Function ListAuthorizationRules (resourceGroupName As String, namespaceName As String, alias As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AuthorizationRule)

Parameters

resourceGroupName
System.String

Name of the resource group within the azure subscription.

namespaceName
System.String

The Namespace name.

alias
System.String

The Disaster Recovery configuration name.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<AuthorizationRule>

Applies to