IotHubResourceOperationsExtensions.ListEventHubConsumerGroupsAsync(IIotHubResourceOperations, String, String, String, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<string>> ListEventHubConsumerGroupsAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, System.Threading.CancellationToken cancellationToken = null);
static member ListEventHubConsumerGroupsAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<string>>

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

resourceGroupName
System.String

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

resourceName
System.String

The name of the IoT hub.

eventHubEndpointName
System.String

The name of the Event Hub-compatible endpoint.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<System.String>>

Remarks

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

Applies to