ReservationOrderConsumptionResource.GetReservationDetails 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 details for provided date range. Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit. In such cases, API call should be made with smaller date ranges.
- Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails
- Operation Id: ReservationsDetails_ListByReservationOrder
public virtual Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail> GetReservationDetails (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationDetails : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail>
override this.GetReservationDetails : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail>
Public Overridable Function GetReservationDetails (filter As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionReservationDetail)
Parameters
- 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 to use.
Returns
A collection of ConsumptionReservationDetail that may take multiple service requests to iterate over.
Exceptions
filter
is null.
Applies to
Azure SDK for .NET