Freigeben über


NamespacesOperationsExtensions.GetAuthorizationRuleAsync Methode

Definition

Ruft eine Autorisierungsregel für einen Namespace anhand des Namens ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource> GetAuthorizationRuleAsync (this Microsoft.Azure.Management.NotificationHubs.INamespacesOperations operations, string resourceGroupName, string namespaceName, string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
static member GetAuthorizationRuleAsync : Microsoft.Azure.Management.NotificationHubs.INamespacesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.SharedAccessAuthorizationRuleResource>
<Extension()>
Public Function GetAuthorizationRuleAsync (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedAccessAuthorizationRuleResource)

Parameter

operations
INamespacesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

namespaceName
String

Der Namespacename

authorizationRuleName
String

Name der Autorisierungsregel.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: