Aracılığıyla paylaş


IExchangeOperationResultResponse Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ExchangeOperationResultResponseTypeConverter))]
public interface IExchangeOperationResultResponse : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ExchangeOperationResultResponseTypeConverter))>]
type IExchangeOperationResultResponse = interface
    interface IJsonSerializable
Public Interface IExchangeOperationResultResponse
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