Share via


ReservationOrderResource.SplitReservationAsync Method

Definition

Split a Reservation into two Reservations with specified quantity distribution.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/split
  • Operation Id: Reservation_Split
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>> SplitReservationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.SplitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SplitReservationAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.SplitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>>
override this.SplitReservationAsync : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.SplitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>>
Public Overridable Function SplitReservationAsync (waitUntil As WaitUntil, content As SplitContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
SplitContent

Information needed to Split a reservation item.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to