IotHubResourceOperationsExtensions.GetEventHubConsumerGroup Method

Definition

Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub

public static Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo GetEventHubConsumerGroup (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, string name);
static member GetEventHubConsumerGroup : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string -> Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo
<Extension()>
Public Function GetEventHubConsumerGroup (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, name As String) As EventHubConsumerGroupInfo

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT hub.

resourceName
String

The name of the IoT hub.

eventHubEndpointName
String

The name of the Event Hub-compatible endpoint in the IoT hub.

name
String

The name of the consumer group to retrieve.

Returns

Remarks

Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.

Applies to