Sdílet prostřednictvím


ConsumptionAmount Class

Definition

The amount plus currency .

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

Properties

Currency

Amount currency.

Value

Amount.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConsumptionAmount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConsumptionAmount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConsumptionAmount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConsumptionAmount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConsumptionAmount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to