Freigeben über


ArmConsumptionModelFactory.ConsumptionSavingsProperties Methode

Definition

Initialisiert eine neue instance von 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

Parameter

calculatedSavings
IEnumerable<ConsumptionCalculatedSavingsProperties>

Liste der berechneten Einsparungen. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.calculatedSavings

lookBackPeriod
Nullable<Int32>

Anzahl der Nutzungstage, die für die Berechnung der Empfehlung verwendet wurden. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.lookBackPeriod

recommendedQuantity
Nullable<Single>

Anzahl der empfohlenen Einheiten der Ressource. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.recommendedQuantity

reservationOrderTerm
String

Laufzeit der Reservierung, z. B. P1Y oder P3Y. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.reservationOrderTerm

savingsType
String

Sparart, z. B. instance. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.savingsType

unitOfMeasure
String

Maßeinheit z. B. Stunde usw. Serialisierter Name: ReservationRecommendationDetailsSavingsProperties.unitOfMeasure

Gibt zurück

Eine neue ConsumptionSavingsProperties instance zum Mocking.

Gilt für: