ReservationOrderConsumptionResource.GetReservationDetailsAsync 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.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail> GetReservationDetailsAsync (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationDetailsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail>
override this.GetReservationDetailsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationDetail>
Public Overridable Function GetReservationDetailsAsync (filter As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
An async collection of ConsumptionReservationDetail that may take multiple service requests to iterate over.
Exceptions
filter
is null.