共用方式為


IotHubResourceOperationsExtensions.ListEventHubConsumerGroups Method

Definition

Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo> ListEventHubConsumerGroups (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName);
static member ListEventHubConsumerGroups : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EventHubConsumerGroupInfo>
<Extension()>
Public Function ListEventHubConsumerGroups (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String) As IPage(Of 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.

Returns

Remarks

Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.

Applies to