Freigeben über


QueuesOperationsExtensions.GetAuthorizationRuleAsync Methode

Definition

Ruft eine Autorisierungsregel für eine Warteschlange nach Regelname ab. https://msdn.microsoft.com/en-us/library/azure/mt705611.aspx

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

Parameter

operations
IQueuesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe innerhalb des Azure-Abonnements.

namespaceName
String

Der Namespacename

queueName
String

Der Warteschlangenname.

authorizationRuleName
String

Der Autorisierungsrulename.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: