def get_event_hub_consumer_group(resource_group_name, resource_name, event_hub_endpoint_name, name, custom_headers:nil)
      response = get_event_hub_consumer_group_async(resource_group_name, resource_name, event_hub_endpoint_name, name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_event_hub_consumer_group(resource_group_name, resource_name, event_hub_endpoint_name, name, custom_headers:nil)
      response = get_event_hub_consumer_group_async(resource_group_name, resource_name, event_hub_endpoint_name, name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Get a consumer group from the Event Hub-compatible device-to-cloud endpoint
 for an IoT hub.

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

 @param resource_group_name [String] The name of the resource group that
 contains the IoT hub.
 @param resource_name [String] The name of the IoT hub.
 @param event_hub_endpoint_name [String] The name of the Event Hub-compatible
 endpoint in the IoT hub.
 @param name [String] The name of the consumer group to retrieve.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EventHubConsumerGroupInfo] operation results.