IotHubResourceOperationsExtensions.DeleteEventHubConsumerGroupAsync(IIotHubResourceOperations, String, String, String, String, CancellationToken) 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 = null);
static member DeleteEventHubConsumerGroupAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task

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 in the IoT hub.

name
System.String

The name of the consumer group to delete.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

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

Applies to