Share via


SavingsPlanToPurchaseCalculateExchange Class

Definition

Savings plan purchase details.

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

Properties

BillingCurrencyTotal

Pricing information containing the amount and the currency code.

Properties

Request body for savings plan purchase.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SavingsPlanToPurchaseCalculateExchange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SavingsPlanToPurchaseCalculateExchange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SavingsPlanToPurchaseCalculateExchange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SavingsPlanToPurchaseCalculateExchange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SavingsPlanToPurchaseCalculateExchange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to