Compartilhar via


ArmConsumptionModelFactory.ConsumptionSavingsProperties Método

Definição

Inicializa uma nova instância de ConsumptionSavingsProperties.

public static Azure.ResourceManager.Consumption.Models.ConsumptionSavingsProperties ConsumptionSavingsProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionCalculatedSavingsProperties> calculatedSavings = default, int? lookBackPeriod = default, float? recommendedQuantity = default, string reservationOrderTerm = default, string savingsType = default, string unitOfMeasure = default);
static member ConsumptionSavingsProperties : seq<Azure.ResourceManager.Consumption.Models.ConsumptionCalculatedSavingsProperties> * Nullable<int> * Nullable<single> * string * string * string -> Azure.ResourceManager.Consumption.Models.ConsumptionSavingsProperties
Public Shared Function ConsumptionSavingsProperties (Optional calculatedSavings As IEnumerable(Of ConsumptionCalculatedSavingsProperties) = Nothing, Optional lookBackPeriod As Nullable(Of Integer) = Nothing, Optional recommendedQuantity As Nullable(Of Single) = Nothing, Optional reservationOrderTerm As String = Nothing, Optional savingsType As String = Nothing, Optional unitOfMeasure As String = Nothing) As ConsumptionSavingsProperties

Parâmetros

calculatedSavings
IEnumerable<ConsumptionCalculatedSavingsProperties>

Lista de economias calculadas. Nome serializado: ReservationRecommendationDetailsSavingsProperties.calculatedSavings

lookBackPeriod
Nullable<Int32>

Número de dias de uso para olhar para trás usado para calcular a recomendação. Nome serializado: ReservationRecommendationDetailsSavingsProperties.lookBackPeriod

recommendedQuantity
Nullable<Single>

Número de unidades recomendadas do recurso. Nome serializado: ReservationRecommendationDetailsSavingsProperties.recommendedQuantity

reservationOrderTerm
String

Período de período da reserva, por exemplo: P1Y ou P3Y. Nome serializado: ReservationRecommendationDetailsSavingsProperties.reservationOrderTerm

savingsType
String

Tipo de economia, por exemplo: instância. Nome serializado: ReservationRecommendationDetailsSavingsProperties.savingsType

unitOfMeasure
String

Unidade de medida ex: hora etc. Nome serializado: ReservationRecommendationDetailsSavingsProperties.unitOfMeasure

Retornos

Uma nova ConsumptionSavingsProperties instância para zombar.

Aplica-se a