ArmReservationsModelFactory.ReservationToReturnForExchange 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 ReservationToReturnForExchange.
public static Azure.ResourceManager.Reservations.Models.ReservationToReturnForExchange ReservationToReturnForExchange (Azure.Core.ResourceIdentifier reservationId = default, int? quantity = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingRefundAmount = default, Azure.ResourceManager.Reservations.Models.BillingInformation billingInformation = default, Azure.ResourceManager.Reservations.Models.ReservationOperationStatus? status = default);
static member ReservationToReturnForExchange : Azure.Core.ResourceIdentifier * Nullable<int> * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.BillingInformation * Nullable<Azure.ResourceManager.Reservations.Models.ReservationOperationStatus> -> Azure.ResourceManager.Reservations.Models.ReservationToReturnForExchange
Public Shared Function ReservationToReturnForExchange (Optional reservationId As ResourceIdentifier = Nothing, Optional quantity As Nullable(Of Integer) = Nothing, Optional billingRefundAmount As PurchasePrice = Nothing, Optional billingInformation As BillingInformation = Nothing, Optional status As Nullable(Of ReservationOperationStatus) = Nothing) As ReservationToReturnForExchange
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.
- status
- Nullable<ReservationOperationStatus>
Status of the individual operation.
Returns
A new ReservationToReturnForExchange instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET