Dela via


ArmCostManagementModelFactory.AllSavingsBenefitDetails Method

Definition

Initializes a new instance of AllSavingsBenefitDetails.

public static Azure.ResourceManager.CostManagement.Models.AllSavingsBenefitDetails AllSavingsBenefitDetails (decimal? overageCost = default, decimal? benefitCost = default, decimal? totalCost = default, decimal? savingsAmount = default, decimal? savingsPercentage = default, decimal? coveragePercentage = default, decimal? commitmentAmount = default, decimal? averageUtilizationPercentage = default, decimal? wastageCost = default);
static member AllSavingsBenefitDetails : Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> -> Azure.ResourceManager.CostManagement.Models.AllSavingsBenefitDetails
Public Shared Function AllSavingsBenefitDetails (Optional overageCost As Nullable(Of Decimal) = Nothing, Optional benefitCost As Nullable(Of Decimal) = Nothing, Optional totalCost As Nullable(Of Decimal) = Nothing, Optional savingsAmount As Nullable(Of Decimal) = Nothing, Optional savingsPercentage As Nullable(Of Decimal) = Nothing, Optional coveragePercentage As Nullable(Of Decimal) = Nothing, Optional commitmentAmount As Nullable(Of Decimal) = Nothing, Optional averageUtilizationPercentage As Nullable(Of Decimal) = Nothing, Optional wastageCost As Nullable(Of Decimal) = Nothing) As AllSavingsBenefitDetails

Parameters

overageCost
Nullable<Decimal>

The difference between total cost and benefit cost for the 'totalHours' in the look-back period.

benefitCost
Nullable<Decimal>

The estimated cost with benefit for the 'totalHours' in the look-back period. It's equal to (commitmentAmount * totalHours).

totalCost
Nullable<Decimal>

Total cost, which is sum of benefit cost and overage cost.

savingsAmount
Nullable<Decimal>

The amount saved for the 'totalHours' in the look-back period, by purchasing the recommended quantity of the benefit.

savingsPercentage
Nullable<Decimal>

The savings in percentage for the 'totalHours' in the look-back period, by purchasing the recommended quantity of benefit.

coveragePercentage
Nullable<Decimal>

Estimated benefit coverage percentage for the 'totalHours' in the look-back period, with this commitment.

commitmentAmount
Nullable<Decimal>

The commitment amount at the commitmentGranularity.

averageUtilizationPercentage
Nullable<Decimal>

Estimated average utilization percentage for the 'totalHours' in the look-back period, with this commitment.

wastageCost
Nullable<Decimal>

Estimated unused portion of the 'benefitCost'.

Returns

A new AllSavingsBenefitDetails instance for mocking.

Applies to