CalculateExchangeOperationsExtensions.BeginPostAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the refund amounts and price of the new purchases.
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)
Parameters
- operations
- ICalculateExchangeOperations
The operations group for this extension method.
Request containing purchases and refunds that need to be executed.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Calculates price for exchanging `Reservations` if there are no policy errors.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET