共用方式為


EventHubConsumerGroupInfoResource.Get(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}
  • Operation Id: IotHubResource_GetEventHubConsumerGroup
public virtual Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubConsumerGroupInfoResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to