共用方式為


NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRule Method

Definition

Creates or updates an authorization rule for a namespace. https://msdn.microsoft.com/en-us/library/azure/mt639410.aspx

public static Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule CreateOrUpdateAuthorizationRule (this Microsoft.Azure.Management.ServiceBus.INamespacesOperations operations, string resourceGroupName, string namespaceName, string authorizationRuleName, Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule parameters);
static member CreateOrUpdateAuthorizationRule : Microsoft.Azure.Management.ServiceBus.INamespacesOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule -> Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule
<Extension()>
Public Function CreateOrUpdateAuthorizationRule (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, authorizationRuleName As String, parameters As SBAuthorizationRule) As SBAuthorizationRule

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

authorizationRuleName
String

The authorization rule name.

parameters
SBAuthorizationRule

The shared access authorization rule.

Returns

Applies to