ArmReservationsModelFactory.ReservationSwapProperties(String, String) 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 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
Parameters
- swapSource
- String
Resource id of the source reservation that gets swapped. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
- swapDestination
- String
Reservation resource id that the original resource gets swapped to. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.
Returns
A new ReservationSwapProperties instance for mocking.
Applies to
Azure SDK for .NET