IotHubResourceOperationsExtensions.DeleteEventHubConsumerGroupAsync Method

Definition

Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub

public static System.Threading.Tasks.Task DeleteEventHubConsumerGroupAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, string name, System.Threading.CancellationToken cancellationToken = default);
static member DeleteEventHubConsumerGroupAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteEventHubConsumerGroupAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

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 delete.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub.

Applies to