다음을 통해 공유


ReservationsSummariesOperationsExtensions.ListByReservationOrderAsync 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>> ListByReservationOrderAsync (this Microsoft.Azure.Management.Consumption.IReservationsSummariesOperations operations, string reservationOrderId, string grain, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByReservationOrderAsync : Microsoft.Azure.Management.Consumption.IReservationsSummariesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.ReservationSummaries>>
<Extension()>
Public Function ListByReservationOrderAsync (operations As IReservationsSummariesOperations, reservationOrderId 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

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