NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRule(INamespacesOperations, String, String, String, AuthorizationRule) 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, Microsoft.Azure.Management.EventHub.Models.AuthorizationRule parameters);
static member CreateOrUpdateAuthorizationRule : Microsoft.Azure.Management.EventHub.INamespacesOperations * string * string * string * Microsoft.Azure.Management.EventHub.Models.AuthorizationRule -> Microsoft.Azure.Management.EventHub.Models.AuthorizationRule
<Extension()>
Public Function CreateOrUpdateAuthorizationRule (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, authorizationRuleName As String, parameters As AuthorizationRule) 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.

parameters
AuthorizationRule

The shared access AuthorizationRule.

Returns

AuthorizationRule

Applies to