Compartir a través de


TopicsOperationsExtensions.GetAuthorizationRuleAsync Método

Definición

Devuelve la regla de autorización especificada. https://msdn.microsoft.com/en-us/library/azure/mt720676.aspx

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

Parámetros

operations
ITopicsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos dentro de la suscripción de Azure.

namespaceName
String

El nombre del espacio de nombres

topicName
String

Nombre del tema.

authorizationRuleName
String

Nombre de authorizationrule.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a