Share via


ReservationsDetailsOperationsExtensions.ListByReservationOrderAndReservationAsync Method

Definition

Lists the reservations details for provided date range. https://docs.microsoft.com/en-us/rest/api/consumption/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.ReservationDetails>> ListByReservationOrderAndReservationAsync (this Microsoft.Azure.Management.Consumption.IReservationsDetailsOperations operations, string reservationOrderId, string reservationId, string filter, System.Threading.CancellationToken cancellationToken = default);
static member ListByReservationOrderAndReservationAsync : Microsoft.Azure.Management.Consumption.IReservationsDetailsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.ReservationDetails>>
<Extension()>
Public Function ListByReservationOrderAndReservationAsync (operations As IReservationsDetailsOperations, reservationOrderId As String, reservationId As String, filter As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ReservationDetails))

Parameters

operations
IReservationsDetailsOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

reservationId
String

Id of the reservation

filter
String

Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to