Compartilhar via


ReservationConsumptionResource.GetReservationSummaries 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.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary> GetReservationSummaries (Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain grain, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationSummaries : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
override this.GetReservationSummaries : Azure.ResourceManager.Consumption.Models.ReservationSummaryDataGrain * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
Public Overridable Function GetReservationSummaries (grain As ReservationSummaryDataGrain, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de ConsumptionReservationSummary que pode levar várias solicitações de serviço para iterar.

Aplica-se a