Compartilhar via


ArmReservationsModelFactory.ReservationSwapProperties(String, String) Método

Definição

Inicializa uma nova instância de ReservationSwapProperties.

public static Azure.ResourceManager.Reservations.Models.ReservationSwapProperties ReservationSwapProperties (string swapSource = default, string swapDestination = default);
static member ReservationSwapProperties : string * string -> Azure.ResourceManager.Reservations.Models.ReservationSwapProperties
Public Shared Function ReservationSwapProperties (Optional swapSource As String = Nothing, Optional swapDestination As String = Nothing) As ReservationSwapProperties

Parâmetros

swapSource
String

ID do recurso da reserva de origem que é trocada. O formato da ID do recurso é /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

swapDestination
String

ID do recurso de reserva para a qual o recurso original é trocado. O formato da ID do recurso é /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

Retornos

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

Aplica-se a