다음을 통해 공유


AllSavingsBenefitDetails Class

Definition

Benefit recommendation details.

public class AllSavingsBenefitDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.AllSavingsBenefitDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.AllSavingsBenefitDetails>
type AllSavingsBenefitDetails = class
    interface IJsonModel<AllSavingsBenefitDetails>
    interface IPersistableModel<AllSavingsBenefitDetails>
Public Class AllSavingsBenefitDetails
Implements IJsonModel(Of AllSavingsBenefitDetails), IPersistableModel(Of AllSavingsBenefitDetails)
Inheritance
AllSavingsBenefitDetails
Implements

Constructors

AllSavingsBenefitDetails()

Initializes a new instance of AllSavingsBenefitDetails.

Properties

AverageUtilizationPercentage

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

BenefitCost

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

CommitmentAmount

The commitment amount at the commitmentGranularity.

CoveragePercentage

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

OverageCost

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

SavingsAmount

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

SavingsPercentage

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

TotalCost

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

WastageCost

Estimated unused portion of the 'benefitCost'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AllSavingsBenefitDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AllSavingsBenefitDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AllSavingsBenefitDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AllSavingsBenefitDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AllSavingsBenefitDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to