Compartir a través de


ConsumptionExtensions.GetConsumptionReservationsSummaries Método

Definición

Enumera los resúmenes de reservas para el ámbito definido diaria o mensualmente.

  • Ruta de acceso de solicitud/{resourceScope}/providers/Microsoft.Consumption/reservationSummaries
  • IdReservationsSummaries_List de operación
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

Instancia ArmClient en la que se ejecutará el método.

scope
ResourceIdentifier

Ámbito al que se aplicará el recurso.

options
ArmResourceGetConsumptionReservationsSummariesOptions

Contenedor de propiedades que contiene todos los parámetros de este método, excepto el calificador LRO y el parámetro de contexto de solicitud.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

options es null.

Se aplica a