Compartilhar via


ArmReservationsModelFactory.ReservationToPurchaseExchange Método

Definição

Inicializa uma nova instância de ReservationToPurchaseExchange.

public static Azure.ResourceManager.Reservations.Models.ReservationToPurchaseExchange ReservationToPurchaseExchange (Azure.Core.ResourceIdentifier reservationOrderId = default, Azure.Core.ResourceIdentifier reservationId = default, Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent properties = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingCurrencyTotal = default, Azure.ResourceManager.Reservations.Models.ReservationOperationStatus? status = default);
static member ReservationToPurchaseExchange : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Reservations.Models.ReservationPurchaseContent * Azure.ResourceManager.Reservations.Models.PurchasePrice * Nullable<Azure.ResourceManager.Reservations.Models.ReservationOperationStatus> -> Azure.ResourceManager.Reservations.Models.ReservationToPurchaseExchange
Public Shared Function ReservationToPurchaseExchange (Optional reservationOrderId As ResourceIdentifier = Nothing, Optional reservationId As ResourceIdentifier = Nothing, Optional properties As ReservationPurchaseContent = Nothing, Optional billingCurrencyTotal As PurchasePrice = Nothing, Optional status As Nullable(Of ReservationOperationStatus) = Nothing) As ReservationToPurchaseExchange

Parâmetros

reservationOrderId
ResourceIdentifier

ID totalmente qualificada da reservationOrder que está sendo comprada.

reservationId
ResourceIdentifier

ID totalmente qualificada da reserva que está sendo comprada. Esse valor só será garantido como não nulo se a compra for bem-sucedida.

properties
ReservationPurchaseContent

A solicitação de compra de reserva.

billingCurrencyTotal
PurchasePrice

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

status
Nullable<ReservationOperationStatus>

Status da operação individual.

Retornos

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

Aplica-se a