Compartilhar via


CalculateExchangeOperationsExtensions.BeginPostAsync Método

Definição

Calcula os valores de reembolso e o preço das novas compras.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Reservations.Models.CalculateExchangeOperationResultResponse> BeginPostAsync (this Microsoft.Azure.Management.Reservations.ICalculateExchangeOperations operations, Microsoft.Azure.Management.Reservations.Models.CalculateExchangeRequest body, System.Threading.CancellationToken cancellationToken = default);
static member BeginPostAsync : 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 BeginPostAsync (operations As ICalculateExchangeOperations, body As CalculateExchangeRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CalculateExchangeOperationResultResponse)

Parâmetros

operations
ICalculateExchangeOperations

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

body
CalculateExchangeRequest

Solicitação que contém compras e reembolsos que precisam ser executados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Calcula o preço da troca de 'Reservas' se não houver erros de política.

Aplica-se a