Compartir a través de


ArmReservationsModelFactory.ExchangeResultProperties Método

Definición

Inicializa una nueva instancia de ExchangeResultProperties.

public static Azure.ResourceManager.Reservations.Models.ExchangeResultProperties ExchangeResultProperties (Guid? sessionId = default, Azure.ResourceManager.Reservations.Models.PurchasePrice netPayable = default, Azure.ResourceManager.Reservations.Models.PurchasePrice refundsTotal = default, Azure.ResourceManager.Reservations.Models.PurchasePrice purchasesTotal = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ReservationToPurchaseExchange> reservationsToPurchase = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseExchange> savingsPlansToPurchase = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ReservationToReturnForExchange> reservationsToExchange = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ExchangePolicyError> policyErrors = default);
static member ExchangeResultProperties : Nullable<Guid> * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.PurchasePrice * seq<Azure.ResourceManager.Reservations.Models.ReservationToPurchaseExchange> * seq<Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseExchange> * seq<Azure.ResourceManager.Reservations.Models.ReservationToReturnForExchange> * seq<Azure.ResourceManager.Reservations.Models.ExchangePolicyError> -> Azure.ResourceManager.Reservations.Models.ExchangeResultProperties
Public Shared Function ExchangeResultProperties (Optional sessionId As Nullable(Of Guid) = Nothing, Optional netPayable As PurchasePrice = Nothing, Optional refundsTotal As PurchasePrice = Nothing, Optional purchasesTotal As PurchasePrice = Nothing, Optional reservationsToPurchase As IEnumerable(Of ReservationToPurchaseExchange) = Nothing, Optional savingsPlansToPurchase As IEnumerable(Of SavingsPlanToPurchaseExchange) = Nothing, Optional reservationsToExchange As IEnumerable(Of ReservationToReturnForExchange) = Nothing, Optional policyErrors As IEnumerable(Of ExchangePolicyError) = Nothing) As ExchangeResultProperties

Parámetros

sessionId
Nullable<Guid>

Identificador de sesión de Exchange.

netPayable
PurchasePrice

Información de precios que contiene la cantidad y el código de moneda.

refundsTotal
PurchasePrice

Información de precios que contiene la cantidad y el código de moneda.

purchasesTotal
PurchasePrice

Información de precios que contiene la cantidad y el código de moneda.

reservationsToPurchase
IEnumerable<ReservationToPurchaseExchange>

Detalles de las reservas que se compran.

savingsPlansToPurchase
IEnumerable<SavingsPlanToPurchaseExchange>

Detalles de los planes de ahorro que se compran.

reservationsToExchange
IEnumerable<ReservationToReturnForExchange>

Detalles de las reservas que se devuelven.

policyErrors
IEnumerable<ExchangePolicyError>

Errores de directiva de Exchange.

Devoluciones

ExchangeResultProperties Nueva instancia de para simular.

Se aplica a