Share via


ArmReservationsModelFactory.ReservationToPurchaseCalculateExchange Method

Definition

Initializes a new instance of ReservationToPurchaseCalculateExchange.

public static Azure.ResourceManager.Reservations.Models.ReservationToPurchaseCalculateExchange ReservationToPurchaseCalculateExchange (Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent properties = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingCurrencyTotal = default);
static member ReservationToPurchaseCalculateExchange : Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent * Azure.ResourceManager.Reservations.Models.PurchasePrice -> Azure.ResourceManager.Reservations.Models.ReservationToPurchaseCalculateExchange
Public Shared Function ReservationToPurchaseCalculateExchange (Optional properties As ReservationPurchaseContent = Nothing, Optional billingCurrencyTotal As PurchasePrice = Nothing) As ReservationToPurchaseCalculateExchange

Parameters

properties
ReservationPurchaseContent

The request for reservation purchase.

billingCurrencyTotal
PurchasePrice

Pricing information containing the amount and the currency code.

Returns

A new ReservationToPurchaseCalculateExchange instance for mocking.

Applies to