共用方式為


NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRule Method

Definition

Creates an authorization rule for a namespace

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

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

namespaceName
String

The namespace name.

authorizationRuleName
String

Authorization Rule Name.

parameters
SharedAccessAuthorizationRuleCreateOrUpdateParameters

The shared access authorization rule.

Returns

Applies to