Partilhar via


ConsumptionExtensions.GetConsumptionReservationsSummaries Método

Definição

Lista os resumos de reservas para o escopo definido diariamente ou mensalmente.

  • Caminho da Solicitação/{resourceScope}/providers/Microsoft.Consumption/reservationSummaries
  • Operação IdReservationsSummaries_List
public static Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary> GetConsumptionReservationsSummaries (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.Consumption.Models.ArmResourceGetConsumptionReservationsSummariesOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetConsumptionReservationsSummaries : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Consumption.Models.ArmResourceGetConsumptionReservationsSummariesOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationSummary>
<Extension()>
Public Function GetConsumptionReservationsSummaries (client As ArmClient, scope As ResourceIdentifier, options As ArmResourceGetConsumptionReservationsSummariesOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionReservationSummary)

Parâmetros

client
ArmClient

A ArmClient instância em que o método será executado.

scope
ResourceIdentifier

O escopo no qual o recurso será aplicado.

options
ArmResourceGetConsumptionReservationsSummariesOptions

Um recipiente de propriedades que contém todos os parâmetros desse método, exceto o qualificador LRO e o parâmetro de contexto de solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

options é nulo.

Aplica-se a