Condividi tramite


NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRule Method

Definition

Creates or updates an AuthorizationRule for a Namespace.

public static Microsoft.Azure.Management.EventHub.Models.AuthorizationRule CreateOrUpdateAuthorizationRule (this Microsoft.Azure.Management.EventHub.INamespacesOperations operations, string resourceGroupName, string namespaceName, string authorizationRuleName, System.Collections.Generic.IList<string> rights);
static member CreateOrUpdateAuthorizationRule : Microsoft.Azure.Management.EventHub.INamespacesOperations * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.EventHub.Models.AuthorizationRule
<Extension()>
Public Function CreateOrUpdateAuthorizationRule (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, authorizationRuleName As String, rights As IList(Of String)) As AuthorizationRule

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.

rights
IList<String>

The rights associated with the rule.

Returns

Applies to