Condividi tramite


ExchangeOperationsExtensions.BeginPostAsync Method

Definition

Exchange Reservation(s)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ExchangeOperationResultResponse> BeginPostAsync (this Microsoft.Azure.Management.Reservations.IExchangeOperations operations, Microsoft.Azure.Management.Reservations.Models.ExchangeRequest body, System.Threading.CancellationToken cancellationToken = default);
static member BeginPostAsync : Microsoft.Azure.Management.Reservations.IExchangeOperations * Microsoft.Azure.Management.Reservations.Models.ExchangeRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.ExchangeOperationResultResponse>
<Extension()>
Public Function BeginPostAsync (operations As IExchangeOperations, body As ExchangeRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExchangeOperationResultResponse)

Parameters

operations
IExchangeOperations

The operations group for this extension method.

body
ExchangeRequest

Request containing the refunds and purchases that need to be executed.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Returns one or more `Reservations` in exchange for one or more `Reservation` purchases.

Applies to