Freigeben über


ArmReservationsModelFactory.ExchangeResultProperties Methode

Definition

Initialisiert eine neue instance von 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

Parameter

sessionId
Nullable<Guid>

Exchange-Sitzungsbezeichner.

netPayable
PurchasePrice

Preisinformationen, die den Betrag und den Währungscode enthalten.

refundsTotal
PurchasePrice

Preisinformationen, die den Betrag und den Währungscode enthalten.

purchasesTotal
PurchasePrice

Preisinformationen, die den Betrag und den Währungscode enthalten.

reservationsToPurchase
IEnumerable<ReservationToPurchaseExchange>

Details der erworbenen Reservierungen.

savingsPlansToPurchase
IEnumerable<SavingsPlanToPurchaseExchange>

Details zu den Sparplänen, die erworben werden.

reservationsToExchange
IEnumerable<ReservationToReturnForExchange>

Details der zurückzugebenden Reservierungen.

policyErrors
IEnumerable<ExchangePolicyError>

Exchange-Richtlinienfehler.

Gibt zurück

Eine neue ExchangeResultProperties instance zum Simulieren.

Gilt für: