ReservationConsumptionResource.GetReservationSummaries Method

Definition

Lists the reservations summaries for daily or monthly grain.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries
  • Operation Id: ReservationsSummaries_ListByReservationOrderAndReservation
public virtual Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary> GetReservationSummaries (Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain grain, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationSummaries : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
override this.GetReservationSummaries : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
Public Overridable Function GetReservationSummaries (grain As ReservationSummaryDataGrain, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionReservationSummary)

Parameters

grain
ReservationSummaryDataGrain

Can be daily or monthly.

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 to use.

Returns

A collection of ConsumptionReservationSummary that may take multiple service requests to iterate over.

Applies to