def list(resource_uri, timespan:nil, interval:nil, metricnames:nil, aggregation:nil, top:nil, orderby:nil, filter:nil, result_type:nil, metricnamespace:nil, custom_headers:nil)
      response = list_async(resource_uri, timespan:timespan, interval:interval, metricnames:metricnames, aggregation:aggregation, top:top, orderby:orderby, filter:filter, result_type:result_type, metricnamespace:metricnamespace, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list(resource_uri, timespan:nil, interval:nil, metricnames:nil, aggregation:nil, top:nil, orderby:nil, filter:nil, result_type:nil, metricnamespace:nil, custom_headers:nil)
      response = list_async(resource_uri, timespan:timespan, interval:interval, metricnames:metricnames, aggregation:aggregation, top:top, orderby:orderby, filter:filter, result_type:result_type, metricnamespace:metricnamespace, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
**Lists the metric values for a resource**.

 @param resource_uri [String] The identifier of the resource.
 @param timespan [String] The timespan of the query. It is a string with the
 following format 'startDateTime_ISO/endDateTime_ISO'.
 @param interval [Duration] The interval (i.e. timegrain) of the query.
 @param metricnames [String] The names of the metrics (comma separated) to
 retrieve.
 @param aggregation [String] The list of aggregation types (comma separated)
 to retrieve.
 @param top [Integer] The maximum number of records to retrieve.
 Valid only if $filter is specified.
 Defaults to 10.
 @param orderby [String] The aggregation to use for sorting results and the
 direction of the sort.
 Only one order can be specified.
 Examples: sum asc.
 @param filter [String] The **$filter** is used to reduce the set of metric
 data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>-
 Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq
 ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid
 variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
 ‘b2’**<br>This is invalid because the logical or operator cannot separate two
 different metadata names.<br>- Return all time series where A = a1, B = b1
 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return
 all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq
 ‘*’**.
 @param result_type [ResultType] Reduces the set of data collected. The syntax
 allowed depends on the operation. See the operation's description for
 details. Possible values include: 'Data', 'Metadata'
 @param metricnamespace [String] Metric namespace to query metric definitions
 for.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Response] operation results.