ArmReservationsModelFactory.ReservationMergeProperties Method

Definition

Initializes a new instance of ReservationMergeProperties.

public static Azure.ResourceManager.Reservations.Models.ReservationMergeProperties ReservationMergeProperties (string mergeDestination = default, System.Collections.Generic.IEnumerable<string> mergeSources = default);
static member ReservationMergeProperties : string * seq<string> -> Azure.ResourceManager.Reservations.Models.ReservationMergeProperties
Public Shared Function ReservationMergeProperties (Optional mergeDestination As String = Nothing, Optional mergeSources As IEnumerable(Of String) = Nothing) As ReservationMergeProperties

Parameters

mergeDestination
String

Reservation resource id Created due to the merge. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

mergeSources
IEnumerable<String>

Resource ids of the source reservation's merged to form this reservation. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

Returns

A new ReservationMergeProperties instance for mocking.

Applies to