Megosztás a következőn keresztül:


ReservationOrderResource.SplitReservation 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 Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>> SplitReservation (Azure.WaitUntil waitUntil, Azure.ResourceManager.Reservations.Models.SplitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SplitReservation : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.SplitContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>
override this.SplitReservation : Azure.WaitUntil * Azure.ResourceManager.Reservations.Models.SplitContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.Reservations.ReservationDetailData>>
Public Overridable Function SplitReservation (waitUntil As WaitUntil, content As SplitContent, 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
SplitContent

Information needed to Split a reservation item.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to