ArmReservationsModelFactory.ReservationToExchange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- reservationId
- ResourceIdentifier
Fully qualified id of the reservation being returned.
- billingRefundAmount
- PurchasePrice
Pricing information containing the amount and the currency code.
- billingInformation
- BillingInformation
billing information.
Returns
A new ReservationToExchange instance for mocking.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET