NotificationHubsOperationsExtensions.ListAuthorizationRulesAsync(INotificationHubsOperations, String, String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the authorization rules for a NotificationHub.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource>> ListAuthorizationRulesAsync (this Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, System.Threading.CancellationToken cancellationToken = null);
static member ListAuthorizationRulesAsync : Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource>>
Parameters
- operations
- INotificationHubsOperations
The operations group for this extension method.
- resourceGroupName
- System.String
The name of the resource group.
- namespaceName
- System.String
The namespace name
- notificationHubName
- System.String
The notification hub name.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<SharedAccessAuthorizationRuleResource>>