Compartir a través de


IotHubDescriptionResource.GetEventHubConsumerGroupInfoAsync Método

Definición

Obtenga un grupo de consumidores del punto de conexión de dispositivo a nube compatible con Event Hubs para un centro de IoT.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}
  • IdIotHubResource_GetEventHubConsumerGroup de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>> GetEventHubConsumerGroupInfoAsync (string eventHubEndpointName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventHubConsumerGroupInfoAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>>
override this.GetEventHubConsumerGroupInfoAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>>
Public Overridable Function GetEventHubConsumerGroupInfoAsync (eventHubEndpointName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventHubConsumerGroupInfoResource))

Parámetros

eventHubEndpointName
String

Nombre del punto de conexión compatible con Event Hubs.

name
String

Nombre del grupo de consumidores que se va a recuperar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

eventHubEndpointName o name es una cadena vacía y se esperaba que no estuviera vacía.

eventHubEndpointName o name es null.

Se aplica a