def list_with_http_info(reported_start_time, reported_end_time, show_details:nil, aggregation_granularity:nil, continuation_token:nil, custom_headers:nil)
      list_async(reported_start_time, reported_end_time, show_details:show_details, aggregation_granularity:aggregation_granularity, continuation_token:continuation_token, custom_headers:custom_headers).value!
    end
def list_with_http_info(reported_start_time, reported_end_time, show_details:nil, aggregation_granularity:nil, continuation_token:nil, custom_headers:nil)
      list_async(reported_start_time, reported_end_time, show_details:show_details, aggregation_granularity:aggregation_granularity, continuation_token:continuation_token, custom_headers:custom_headers).value!
    end
Query aggregated Azure subscription consumption data for a date range.

 @param reported_start_time [DateTime] The start of the time range to retrieve
 data for.
 @param reported_end_time [DateTime] The end of the time range to retrieve
 data for.
 @param show_details [Boolean] `True` returns usage data in instance-level
 detail, `false` causes server-side aggregation with fewer details. For
 example, if you have 3 website instances, by default you will get 3 line
 items for website consumption. If you specify showDetails = false, the data
 will be aggregated as a single line item for website consumption within the
 time period (for the given subscriptionId, meterId, usageStartTime and
 usageEndTime).
 @param aggregation_granularity [AggregationGranularity] `Daily` (default)
 returns the data in daily granularity, `Hourly` returns the data in hourly
 granularity. Possible values include: 'Daily', 'Hourly'
 @param continuation_token [String] Used when a continuation token string is
 provided in the response body of the previous call, enabling paging through a
 large result set. If not present, the data is retrieved from the beginning of
 the day/hour (based on the granularity) passed in.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.