INamespaceOperations.GetAuthorizationRuleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The get authorization rule operation gets an authorization rule for a namespace by name.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse> GetAuthorizationRuleAsync (string namespaceName, string entityName, System.Threading.CancellationToken cancellationToken);
abstract member GetAuthorizationRuleAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse>
Public Function GetAuthorizationRuleAsync (namespaceName As String, entityName As String, cancellationToken As CancellationToken) As Task(Of ServiceBusAuthorizationRuleResponse)
Parameters
- namespaceName
- String
The namespace to get the authorization rule for.
- entityName
- String
The entity name to get the authorization rule for.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A response to a request for a particular authorization rule.