ICalculateExchangeOperationResultResponse Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.CalculateExchangeOperationResultResponseTypeConverter))]
public interface ICalculateExchangeOperationResultResponse : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.CalculateExchangeOperationResultResponseTypeConverter))>]
type ICalculateExchangeOperationResultResponse = interface
    interface IJsonSerializable
Public Interface ICalculateExchangeOperationResultResponse
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Code

Required if status == failed or status == cancelled. If status == failed, provide an invariant error code used for error troubleshooting, aggregation, and analysis.

Id

It should match what is used to GET the operation result.

Message

Required if status == failed. Localized. If status == failed, provide an actionable error message indicating what error occurred, and what the user can do to address the issue.

Name

It must match the last segment of the id field, and will typically be a GUID / system generated value.

NetPayable

Pricing information containing the amount and the currency code

PolicyResultPolicyError

Exchange Policy errors

PurchasesTotal

Pricing information containing the amount and the currency code

RefundsTotal

Pricing information containing the amount and the currency code

ReservationsToExchange

Details of the reservations being returned

ReservationsToPurchase

Details of the reservations being purchased

SavingsPlansToPurchase

Details of the savings plans being purchased

SessionId

Exchange session identifier

Status

Status of the operation.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to