NamespaceOperationsExtensions.CreateAuthorizationRule 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 Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse CreateAuthorizationRule (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName, Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule rule);
static member CreateAuthorizationRule : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string * Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusSharedAccessAuthorizationRule -> Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse
<Extension()>
Public Function CreateAuthorizationRule (operations As INamespaceOperations, namespaceName As String, rule As ServiceBusSharedAccessAuthorizationRule) As 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.