Aracılığıyla paylaş


ReservationOperationsExtensions.SplitAsync Method

Definition

Split the Reservation.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse>> SplitAsync (this Microsoft.Azure.Management.Reservations.IReservationOperations operations, string reservationOrderId, Microsoft.Azure.Management.Reservations.Models.SplitRequest body, System.Threading.CancellationToken cancellationToken = default);
static member SplitAsync : Microsoft.Azure.Management.Reservations.IReservationOperations * string * Microsoft.Azure.Management.Reservations.Models.SplitRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse>>
<Extension()>
Public Function SplitAsync (operations As IReservationOperations, reservationOrderId As String, body As SplitRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ReservationResponse))

Parameters

operations
IReservationOperations

The operations group for this extension method.

reservationOrderId
String

Order Id of the reservation

body
SplitRequest

Information needed to Split a reservation item

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Split a `Reservation` into two `Reservation`s with specified quantity distribution.

Applies to