你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReservationOrderConsumptionResource.GetReservationSummaries 方法

定义

列出每日或每月粒度的预留摘要。

  • Request Path/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries
  • 操作IdReservationsSummaries_ListByReservationOrder
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)

参数

grain
ReservationSummaryDataGrain

可以是每日或每月。

filter
String

仅适用于每日粒度。 开始日期和结束日期的属性/UsageDate。 筛选器支持“le”和“ge”。

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 ConsumptionReservationSummary 集合。

适用于