RecommendationUsageDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
On-demand charges between firstConsumptionDate and lastConsumptionDate that were used for computing benefit recommendations.
public class RecommendationUsageDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.RecommendationUsageDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.RecommendationUsageDetails>
type RecommendationUsageDetails = class
interface IJsonModel<RecommendationUsageDetails>
interface IPersistableModel<RecommendationUsageDetails>
Public Class RecommendationUsageDetails
Implements IJsonModel(Of RecommendationUsageDetails), IPersistableModel(Of RecommendationUsageDetails)
- Inheritance
-
RecommendationUsageDetails
- Implements
Constructors
RecommendationUsageDetails() |
Initializes a new instance of RecommendationUsageDetails. |
Properties
Charges |
On-demand charges for each hour between firstConsumptionDate and lastConsumptionDate that were used for computing benefit recommendations. |
UsageGrain |
The grain of the usage. Supported values: 'Hourly'. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<RecommendationUsageDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RecommendationUsageDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RecommendationUsageDetails>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RecommendationUsageDetails>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RecommendationUsageDetails>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET