def list_with_http_info(scope, grain, filter:nil, custom_headers:nil)
      list_async(scope, grain, filter:filter, custom_headers:custom_headers).value!
    end
def list_with_http_info(scope, grain, filter:nil, custom_headers:nil)
      list_async(scope, grain, filter:filter, custom_headers:custom_headers).value!
    end
Lists the reservations summaries for daily or monthly grain.

 @param scope [String] The scope of the reservation summaries. The scope can
 be 'providers/Microsoft.Capacity/reservationorders/{ReservationOrderId}' or
 'providers/Microsoft.Capacity/reservationorders/{ReservationOrderId}/reservations/{ReservationId}'
 @param grain [Datagrain] Can be daily or monthly. Possible values include:
 'DailyGrain', 'MonthlyGrain'
 @param filter [String] Required only for daily grain. The
 properties/UsageDate for start date and end date. The filter supports 'le'
 and  'ge'
 @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.