ReservationConsumptionResource.GetReservationSummariesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary> GetReservationSummariesAsync (Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain grain, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationSummariesAsync : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
override this.GetReservationSummariesAsync : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
Public Overridable Function GetReservationSummariesAsync (grain As ReservationSummaryDataGrain, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConsumptionReservationSummary)
Parameters
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
An async collection of ConsumptionReservationSummary that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET