次の方法で共有


ArmReservationsModelFactory.ReservationToExchange メソッド

定義

ReservationToExchange の新しいインスタンスを初期化します。

public static Azure.ResourceManager.Reservations.Models.ReservationToExchange ReservationToExchange (Azure.Core.ResourceIdentifier reservationId = default, int? quantity = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingRefundAmount = default, Azure.ResourceManager.Reservations.Models.BillingInformation billingInformation = default);
static member ReservationToExchange : Azure.Core.ResourceIdentifier * Nullable<int> * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.BillingInformation -> Azure.ResourceManager.Reservations.Models.ReservationToExchange
Public Shared Function ReservationToExchange (Optional reservationId As ResourceIdentifier = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional billingRefundAmount As PurchasePrice = Nothing, Optional billingInformation As BillingInformation = Nothing) As ReservationToExchange

パラメーター

reservationId
ResourceIdentifier

返される予約の完全修飾 ID。

quantity
Nullable<Int32>

返される数量。

billingRefundAmount
PurchasePrice

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

billingInformation
BillingInformation

課金情報。

戻り値

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

適用対象