Udostępnij za pośrednictwem


ReservationsSummariesOperationsExtensions.ListByReservationOrderAndReservationAsync Method

Definition

Lists the reservations summaries for daily or monthly grain. https://docs.microsoft.com/en-us/rest/api/consumption/

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

Parameters

operations
IReservationsSummariesOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

reservationId
String

Id of the reservation

grain
String

Can be daily or monthly. Possible values include: 'DailyGrain', 'MonthlyGrain'

filter
String

Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to