Compartilhar via


ArmConsumptionModelFactory.ConsumptionCalculatedSavingsProperties Método

Definição

Inicializa uma nova instância de ConsumptionCalculatedSavingsProperties.

public static Azure.ResourceManager.Consumption.Models.ConsumptionCalculatedSavingsProperties ConsumptionCalculatedSavingsProperties (float? onDemandCost = default, float? overageCost = default, float? quantity = default, float? reservationCost = default, float? totalReservationCost = default, float? reservedUnitCount = default, float? savings = default);
static member ConsumptionCalculatedSavingsProperties : Nullable<single> * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<single> -> Azure.ResourceManager.Consumption.Models.ConsumptionCalculatedSavingsProperties
Public Shared Function ConsumptionCalculatedSavingsProperties (Optional onDemandCost As Nullable(Of Single) = Nothing, Optional overageCost As Nullable(Of Single) = Nothing, Optional quantity As Nullable(Of Single) = Nothing, Optional reservationCost As Nullable(Of Single) = Nothing, Optional totalReservationCost As Nullable(Of Single) = Nothing, Optional reservedUnitCount As Nullable(Of Single) = Nothing, Optional savings As Nullable(Of Single) = Nothing) As ConsumptionCalculatedSavingsProperties

Parâmetros

onDemandCost
Nullable<Single>

O custo sem reserva. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.onDemandCost

overageCost
Nullable<Single>

A diferença entre o custo total da reserva e o custo de reserva. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.overageCost

quantity
Nullable<Single>

A quantidade de economia calculada. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.quantity

reservationCost
Nullable<Single>

O custo exato do uso estimado usando a reserva. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.reservationCost

totalReservationCost
Nullable<Single>

O custo da quantidade sugerida. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.totalReservationCost

reservedUnitCount
Nullable<Single>

O número de unidades reservadas usadas para calcular a economia. Sempre 1 para máquinas virtuais. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.reservedUnitCount

savings
Nullable<Single>

O valor salvo pela compra da quantidade recomendada de reserva. Nome serializado: ReservationRecommendationDetailsCalculatedSavingsProperties.savings

Retornos

Uma nova ConsumptionCalculatedSavingsProperties instância para simulação.

Aplica-se a