다음을 통해 공유


NotificationHubsOperationsExtensions.CreateOrUpdateAuthorizationRule Method

Definition

Creates/Updates an authorization rule for a NotificationHub

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

Parameters

operations
INotificationHubsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

namespaceName
String

The namespace name.

notificationHubName
String

The notification hub name.

authorizationRuleName
String

Authorization Rule Name.

parameters
SharedAccessAuthorizationRuleCreateOrUpdateParameters

The shared access authorization rule.

Returns

Applies to