Aracılığıyla paylaş


ExchangeOperationResultResponse Class

Definition

Exchange operation result

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

Constructors

ExchangeOperationResultResponse()

Creates an new ExchangeOperationResultResponse instance.

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

ResourceGroupName

Gets the resource group name

SavingsPlansToPurchase

Details of the savings plans being purchased

SessionId

Exchange session identifier

Status

Status of the operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExchangeOperationResultResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExchangeOperationResultResponse.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExchangeOperationResultResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to