CalculateExchangeOperationsExtensions.Post Method

Definition

Calculates the refund amounts and price of the new purchases.

public static Microsoft.Azure.Management.Reservations.Models.CalculateExchangeOperationResultResponse Post (this Microsoft.Azure.Management.Reservations.ICalculateExchangeOperations operations, Microsoft.Azure.Management.Reservations.Models.CalculateExchangeRequest body);
static member Post : Microsoft.Azure.Management.Reservations.ICalculateExchangeOperations * Microsoft.Azure.Management.Reservations.Models.CalculateExchangeRequest -> Microsoft.Azure.Management.Reservations.Models.CalculateExchangeOperationResultResponse
<Extension()>
Public Function Post (operations As ICalculateExchangeOperations, body As CalculateExchangeRequest) As CalculateExchangeOperationResultResponse

Parameters

operations
ICalculateExchangeOperations

The operations group for this extension method.

body
CalculateExchangeRequest

Request containing purchases and refunds that need to be executed.

Returns

Remarks

Calculates price for exchanging `Reservations` if there are no policy errors.

Applies to