Sdílet prostřednictvím


ReservationConsumptionResource.GetReservationDetailsAsync Method

Definition

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}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails
  • Operation Id: ReservationsDetails_ListByReservationOrderAndReservation
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.

Applies to