NamespaceOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse> GetAuthorizationRuleAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, string entityName);
static member GetAuthorizationRuleAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse>
<Extension()>
Public Function GetAuthorizationRuleAsync (operations As INamespaceOperations, namespaceName As String, entityName As String) As Task(Of ServiceBusAuthorizationRuleResponse)
Parameters
- operations
- INamespaceOperations
Reference to the Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations.
- namespaceName
- String
Required. The namespace to get the authorization rule for.
- entityName
- String
Required. The entity name to get the authorization rule for.
Returns
A response to a request for a particular authorization rule.
Applies to
Azure SDK for .NET