/// <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='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> ListByReservationOrder(this IReservationsDetailsOperations operations, string reservationOrderId, string filter) { return(operations.ListByReservationOrderAsync(reservationOrderId, filter).GetAwaiter().GetResult()); }