Compartilhar via


ArmReservationsModelFactory.CalculateExchangeResultProperties Método

Definição

Inicializa uma nova instância de CalculateExchangeResultProperties.

public static Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties CalculateExchangeResultProperties (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.ReservationToPurchaseCalculateExchange> reservationsToPurchase = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseCalculateExchange> savingsPlansToPurchase = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ReservationToExchange> reservationsToExchange = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.ExchangePolicyError> policyErrors = default);
static member CalculateExchangeResultProperties : Nullable<Guid> * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.PurchasePrice * seq<Azure.ResourceManager.Reservations.Models.ReservationToPurchaseCalculateExchange> * seq<Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseCalculateExchange> * seq<Azure.ResourceManager.Reservations.Models.ReservationToExchange> * seq<Azure.ResourceManager.Reservations.Models.ExchangePolicyError> -> Azure.ResourceManager.Reservations.Models.CalculateExchangeResultProperties
Public Shared Function CalculateExchangeResultProperties (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 ReservationToPurchaseCalculateExchange) = Nothing, Optional savingsPlansToPurchase As IEnumerable(Of SavingsPlanToPurchaseCalculateExchange) = Nothing, Optional reservationsToExchange As IEnumerable(Of ReservationToExchange) = Nothing, Optional policyErrors As IEnumerable(Of ExchangePolicyError) = Nothing) As CalculateExchangeResultProperties

Parâmetros

sessionId
Nullable<Guid>

Identificador de sessão do Exchange.

netPayable
PurchasePrice

Informações de preços que contêm o valor e o código de moeda.

refundsTotal
PurchasePrice

Informações de preços que contêm o valor e o código de moeda.

purchasesTotal
PurchasePrice

Informações de preços que contêm o valor e o código de moeda.

reservationsToPurchase
IEnumerable<ReservationToPurchaseCalculateExchange>

Detalhes das reservas que estão sendo adquiridas.

savingsPlansToPurchase
IEnumerable<SavingsPlanToPurchaseCalculateExchange>

Detalhes dos planos de economia que estão sendo comprados.

reservationsToExchange
IEnumerable<ReservationToExchange>

Detalhes das reservas que estão sendo retornadas.

policyErrors
IEnumerable<ExchangePolicyError>

Erros de política do Exchange.

Retornos

Uma nova CalculateExchangeResultProperties instância para zombar.

Aplica-se a