def list_by_iot_hub(resource_group_name, resource_name, custom_headers:nil)
      response = list_by_iot_hub_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_iot_hub(resource_group_name, resource_name, custom_headers:nil)
      response = list_by_iot_hub_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Get the certificate list.

 Returns the list of certificates.

 @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 custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [CertificateListDescription] operation results.