Partilhar via


EventHubsOperationsExtensions.ListAuthorizationRulesAsync Método

Definição

Obtém as regras de autorização para um Hub de Eventos.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.AuthorizationRuleInner>> ListAuthorizationRulesAsync (this Microsoft.Azure.Management.EventHub.Fluent.IEventHubsOperations operations, string resourceGroupName, string namespaceName, string eventHubName, System.Threading.CancellationToken cancellationToken = default);
static member ListAuthorizationRulesAsync : Microsoft.Azure.Management.EventHub.Fluent.IEventHubsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.AuthorizationRuleInner>>
<Extension()>
Public Function ListAuthorizationRulesAsync (operations As IEventHubsOperations, resourceGroupName As String, namespaceName As String, eventHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AuthorizationRuleInner))

Parâmetros

operations
IEventHubsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do azure.

namespaceName
String

O nome do namespace

eventHubName
String

O nome do Hub de Eventos

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a