/// <summary>
 /// Lists the reservations details for provided date range.
 /// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='reservationOrderId'>
 /// Order Id of the reservation
 /// </param>
 /// <param name='reservationId'>
 /// Id of the reservation
 /// </param>
 /// <param name='filter'>
 /// Filter reservation details by date range. The properties/UsageDate for
 /// start date and end date. The filter supports 'le' and  'ge'
 /// </param>
 public static IPage <ReservationDetails> ListByReservationOrderAndReservation(this IReservationsDetailsOperations operations, string reservationOrderId, string reservationId, string filter)
 {
     return(operations.ListByReservationOrderAndReservationAsync(reservationOrderId, reservationId, filter).GetAwaiter().GetResult());
 }