NamespaceOperationsExtensions.CreateAuthorizationRuleAsync 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 create namespace authorization rule operation creates an authorization rule for a namespace
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse> CreateAuthorizationRuleAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule rule);
static member CreateAuthorizationRuleAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse>
<Extension()>
Public Function CreateAuthorizationRuleAsync (operations As INamespaceOperations, namespaceName As String, rule As ServiceBusSharedAccessAuthorizationRule) As Task(Of ServiceBusAuthorizationRuleResponse)
Parameters
- operations
- INamespaceOperations
Reference to the Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations.
- namespaceName
- String
Required. The namespace name.
Required. The shared access authorization rule.
Returns
A response to a request for a particular authorization rule.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET