Share via


IotHubResourceOperationsExtensions.ListEventHubConsumerGroupsAsync Methode

Definition

Abrufen einer Liste der Consumergruppen im Event Hub-kompatiblen Device-to-Cloud-Endpunkt in einem IoT Hub

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo>> ListEventHubConsumerGroupsAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, System.Threading.CancellationToken cancellationToken = default);
static member ListEventHubConsumerGroupsAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo>>
<Extension()>
Public Function ListEventHubConsumerGroupsAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EventHubConsumerGroupInfo))

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den IoT Hub enthält.

resourceName
String

Der Name des IoT-Hubs.

eventHubEndpointName
String

Der Name des Event Hub-kompatiblen Endpunkts.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie eine Liste der Consumergruppen im Event Hub-kompatiblen Device-to-Cloud-Endpunkt in einem IoT Hub ab.

Gilt für: