Freigeben über


ArmReservationsModelFactory.SavingsPlanToPurchaseExchange Methode

Definition

Initialisiert eine neue instance von SavingsPlanToPurchaseExchange.

public static Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseExchange SavingsPlanToPurchaseExchange (string savingsPlanOrderId = default, string savingsPlanId = default, Azure.ResourceManager.Reservations.Models.SavingsPlanPurchase properties = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingCurrencyTotal = default, Azure.ResourceManager.Reservations.Models.ReservationOperationStatus? status = default);
static member SavingsPlanToPurchaseExchange : string * string * Azure.ResourceManager.Reservations.Models.SavingsPlanPurchase * Azure.ResourceManager.Reservations.Models.PurchasePrice * Nullable<Azure.ResourceManager.Reservations.Models.ReservationOperationStatus> -> Azure.ResourceManager.Reservations.Models.SavingsPlanToPurchaseExchange
Public Shared Function SavingsPlanToPurchaseExchange (Optional savingsPlanOrderId As String = Nothing, Optional savingsPlanId As String = Nothing, Optional properties As SavingsPlanPurchase = Nothing, Optional billingCurrencyTotal As PurchasePrice = Nothing, Optional status As Nullable(Of ReservationOperationStatus) = Nothing) As SavingsPlanToPurchaseExchange

Parameter

savingsPlanOrderId
String

Vollqualifizierte ID des Sparplanauftrags, der erworben wird.

savingsPlanId
String

Vollqualifizierte ID des erworbenen Sparplans. Dieser Wert ist nur dann garantiert ungleich NULL, wenn der Kauf erfolgreich ist.

properties
SavingsPlanPurchase

Anforderungstext für den Kauf eines Sparplans.

billingCurrencyTotal
PurchasePrice

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

status
Nullable<ReservationOperationStatus>

Status des einzelnen Vorgangs.

Gibt zurück

Eine neue SavingsPlanToPurchaseExchange instance zum Mocking.

Gilt für: