Freigeben über


IEventHubAuthorizationRules.ListByEventHubAsync Methode

Definition

Listet die Autorisierungsregeln eines Event Hubs in einem Namespace unter einer Ressourcengruppe auf.

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))

Parameter

resourceGroupName
String

Name der Namespaceressourcengruppe.

namespaceName
String

Name des übergeordneten Event Hub-Namespace.

eventHubName
String

Event Hub-Name.

cancellationToken
CancellationToken

Gibt zurück

Gilt für: