Partager via


IEventHubAuthorizationRules.ListByEventHubAsync Méthode

Définition

Répertorie les règles d’autorisation d’un hub d’événements dans un espace de noms sous un groupe de ressources.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubAuthorizationRule>> ListByEventHubAsync (string resourceGroupName, string namespaceName, string eventHubName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByEventHubAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubAuthorizationRule>>
Public Function ListByEventHubAsync (resourceGroupName As String, namespaceName As String, eventHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IEventHubAuthorizationRule))

Paramètres

resourceGroupName
String

Nom du groupe de ressources d’espace de noms.

namespaceName
String

Nom de l’espace de noms parent du hub d’événements.

eventHubName
String

Nom du hub d’événements.

cancellationToken
CancellationToken

Retours

S’applique à