NamespacesOperationsExtensions.ListAuthorizationRulesAsync(INamespacesOperations, String, String, CancellationToken) Method

Definition

Gets the authorization rules for a namespace. https://msdn.microsoft.com/en-us/library/azure/mt639376.aspx

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule>> ListAuthorizationRulesAsync (this Microsoft.Azure.Management.ServiceBus.INamespacesOperations operations, string resourceGroupName, string namespaceName, System.Threading.CancellationToken cancellationToken = null);
static member ListAuthorizationRulesAsync : Microsoft.Azure.Management.ServiceBus.INamespacesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule>>

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the Resource group within the Azure subscription.

namespaceName
System.String

The namespace name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<SBAuthorizationRule>>

Applies to