Share via


IotHubResourceOperationsExtensions.CreateEventHubConsumerGroup Methode

Definition

Hinzufügen einer Consumergruppe zu einem Event Hub-kompatiblen Endpunkt in einem IoT Hub

public static Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo CreateEventHubConsumerGroup (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, string name, Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupName properties);
static member CreateEventHubConsumerGroup : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string * Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupName -> Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo
<Extension()>
Public Function CreateEventHubConsumerGroup (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, name As String, properties As EventHubConsumerGroupName) As 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 hinzuzufügenden Consumergruppe.

Gibt zurück

Hinweise

Fügen Sie eine Consumergruppe zu einem Event Hub-kompatiblen Endpunkt in einem IoT Hub hinzu.

Gilt für: