Share via


IotHubResourceOperationsExtensions.GetEventHubConsumerGroupAsync Methode

Definition

Abrufen einer Consumergruppe vom Event Hub-kompatiblen Device-to-Cloud-Endpunkt für einen IoT Hub

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo> GetEventHubConsumerGroupAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetEventHubConsumerGroupAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo>
<Extension()>
Public Function GetEventHubConsumerGroupAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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 im IoT Hub.

name
String

Der Name der abzurufenden Consumergruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Rufen Sie eine Consumergruppe vom Event Hub-kompatiblen Device-to-Cloud-Endpunkt für einen IoT Hub ab.

Gilt für: