다음을 통해 공유


ConsumptionAmountWithExchangeRate Class

Definition

The amount with exchange rate.

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

Properties

Currency

Amount currency.

(Inherited from ConsumptionAmount)
ExchangeRate

The exchange rate.

ExchangeRateMonth

The exchange rate month.

Value

Amount.

(Inherited from ConsumptionAmount)

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.

(Inherited from ConsumptionAmount)
IJsonModel<ConsumptionAmount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConsumptionAmount)
IJsonModel<ConsumptionAmountWithExchangeRate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConsumptionAmountWithExchangeRate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConsumptionAmount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ConsumptionAmount)
IPersistableModel<ConsumptionAmount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ConsumptionAmount)
IPersistableModel<ConsumptionAmount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ConsumptionAmount)
IPersistableModel<ConsumptionAmountWithExchangeRate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConsumptionAmountWithExchangeRate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConsumptionAmountWithExchangeRate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to