Compartir a través de


CalculateExchangeOperationsExtensions.PostAsync Método

Definición

Calcula los importes de reembolso y el precio de las nuevas compras.

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

Parámetros

operations
ICalculateExchangeOperations

Grupo de operaciones para este método de extensión.

body
CalculateExchangeRequest

Solicitud que contiene compras y reembolsos que deben ejecutarse.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Comentarios

Calcula el precio para intercambiar "Reservas" si no hay errores de directiva.

Se aplica a