Compartilhar via


ReservationConsumptionResource.GetReservationSummariesAsync Método

Definição

Lista os resumos de reservas para granularidade diária ou mensal.

  • Caminho da Solicitação/provedores/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries
  • Operação IdReservationsSummaries_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)

Parâmetros

grain
ReservationSummaryDataGrain

Pode ser diário ou mensal.

filter
String

Necessário apenas para granularidade diária. As propriedades/UsageDate para data de início e data de término. O filtro dá suporte a 'le' e 'ge'.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ConsumptionReservationSummary que pode levar várias solicitações de serviço para iterar.

Aplica-se a