Compartilhar via


ReservationOperationsExtensions.MergeAsync Método

Definição

Mescla dois Reservations.

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

Parâmetros

operations
IReservationOperations

O grupo de operações para esse método de extensão.

reservationOrderId
String

ID do pedido da reserva

body
MergeRequest

Informações necessárias para solicitação comercial para uma reserva

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Mescle a 'Reserva' especificada em uma nova 'Reserva'. Os dois 'Reserva está sendo mesclado devem ter as mesmas propriedades.

Aplica-se a