Compartir a través de


CalculateExchangeRequest Class

Definition

Calculate exchange request

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.CalculateExchangeRequestTypeConverter))]
public class CalculateExchangeRequest : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ICalculateExchangeRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.CalculateExchangeRequestTypeConverter))>]
type CalculateExchangeRequest = class
    interface ICalculateExchangeRequest
    interface IJsonSerializable
Public Class CalculateExchangeRequest
Implements ICalculateExchangeRequest
Inheritance
CalculateExchangeRequest
Attributes
Implements

Constructors

CalculateExchangeRequest()

Creates an new CalculateExchangeRequest instance.

Properties

ReservationsToExchange

List of reservations that are being returned in this exchange.

ReservationsToPurchase

List of reservations that are being purchased in this exchange.

SavingsPlansToPurchase

List of savings plans that are being purchased in this exchange.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CalculateExchangeRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CalculateExchangeRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ICalculateExchangeRequest.

FromJsonString(String)

Creates a new instance of CalculateExchangeRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CalculateExchangeRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to