次の方法で共有


ArmReservationsModelFactory.ExchangeResultProperties メソッド

定義

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

パラメーター

sessionId
Nullable<Guid>

Exchange セッション識別子。

netPayable
PurchasePrice

金額と通貨コードを含む価格情報。

refundsTotal
PurchasePrice

金額と通貨コードを含む価格情報。

purchasesTotal
PurchasePrice

金額と通貨コードを含む価格情報。

reservationsToPurchase
IEnumerable<ReservationToPurchaseExchange>

購入される予約の詳細。

savingsPlansToPurchase
IEnumerable<SavingsPlanToPurchaseExchange>

購入中の節約プランの詳細。

reservationsToExchange
IEnumerable<ReservationToReturnForExchange>

返される予約の詳細。

policyErrors
IEnumerable<ExchangePolicyError>

Exchange ポリシー エラー。

戻り値

モック作成用の新しい ExchangeResultProperties インスタンス。

適用対象