ArmReservationsModelFactory.ReservationSplitProperties Method

Definition

Initializes a new instance of ReservationSplitProperties.

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

Parameters

splitDestinations
IEnumerable<String>

List of destination resource id that are created due to split. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

splitSource
String

Resource id of the reservation from which this is split. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

Returns

A new ReservationSplitProperties instance for mocking.

Applies to