ReservationOrderResource.MergeReservation 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.
Merge the specified Reservation
s into a new Reservation
. The two Reservation
s being merged must have same properties.
- Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/merge
- Operation Id: Reservation_Merge
public virtual Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>> MergeReservation (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.MergeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeReservation : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.MergeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>
override this.MergeReservation : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.MergeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>
Public Overridable Function MergeReservation (waitUntil As WaitUntil, content As MergeContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IList(Of ReservationDetailData))
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- content
- MergeContent
Information needed for commercial request for a reservation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.