ArmReservationsModelFactory.ExchangeResultProperties Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância 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
- netPayable
- PurchasePrice
Informações de preço que contêm o valor e o código de moeda.
- refundsTotal
- PurchasePrice
Informações de preço que contêm o valor e o código de moeda.
- purchasesTotal
- PurchasePrice
Informações de preço que contêm o valor e o código de moeda.
- reservationsToPurchase
- IEnumerable<ReservationToPurchaseExchange>
Detalhes das reservas que estão sendo compradas.
- savingsPlansToPurchase
- IEnumerable<SavingsPlanToPurchaseExchange>
Detalhes dos planos de economia que estão sendo comprados.
- reservationsToExchange
- IEnumerable<ReservationToReturnForExchange>
Detalhes das reservas que estão sendo retornadas.
- policyErrors
- IEnumerable<ExchangePolicyError>
Erros de política do Exchange.
Retornos
Uma nova ExchangeResultProperties instância para simulação.