Dela via


NotificationHubsOperationsExtensions.GetAuthorizationRule Method

Definition

Gets an authorization rule for a NotificationHub by name.

public static Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource GetAuthorizationRule (this Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, string authorizationRuleName);
static member GetAuthorizationRule : Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations * string * string * string * string -> Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource
<Extension()>
Public Function GetAuthorizationRule (operations As INotificationHubsOperations, resourceGroupName As String, namespaceName As String, notificationHubName As String, authorizationRuleName As String) 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.

Returns

Applies to