Поделиться через


SavingsPlanToPurchaseExchange Class

Definition

Savings plan purchase details.

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

Properties

BillingCurrencyTotal

Pricing information containing the amount and the currency code.

Properties

Request body for savings plan purchase.

SavingsPlanId

Fully qualified id of the savings plan being purchased. This value is only guaranteed to be non-null if the purchase is successful.

SavingsPlanOrderId

Fully qualified id of the savings plan order being purchased.

Status

Status of the individual operation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SavingsPlanToPurchaseExchange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SavingsPlanToPurchaseExchange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SavingsPlanToPurchaseExchange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SavingsPlanToPurchaseExchange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SavingsPlanToPurchaseExchange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to