ExchangeOperationsExtensions.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET