Compartilhar via


ArmReservationsModelFactory.ReservationToExchange Método

Definição

Inicializa uma nova instância de 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

Parâmetros

reservationId
ResourceIdentifier

ID totalmente qualificada da reserva que está sendo retornada.

quantity
Nullable<Int32>

Quantidade a ser retornada.

billingRefundAmount
PurchasePrice

Informações de preço que contêm o valor e o código de moeda.

billingInformation
BillingInformation

informações de cobrança.

Retornos

Uma nova ReservationToExchange instância para simulação.

Aplica-se a