通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Exchanges Interface

public interface Exchanges

Resource collection API of Exchanges.

Method Summary

Modifier and Type Method and Description
abstract ExchangeOperationResultResponse post(ExchangeRequest body)

Exchange Reservation(s) Returns one or more `Reservations` in exchange for one or more `Reservation` purchases.

abstract ExchangeOperationResultResponse post(ExchangeRequest body, Context context)

Exchange Reservation(s) Returns one or more `Reservations` in exchange for one or more `Reservation` purchases.

Method Details

post

public abstract ExchangeOperationResultResponse post(ExchangeRequest body)

Exchange Reservation(s) Returns one or more `Reservations` in exchange for one or more `Reservation` purchases.

Parameters:

body - Request containing the refunds and purchases that need to be executed.

Returns:

exchange operation result.

post

public abstract ExchangeOperationResultResponse post(ExchangeRequest body, Context context)

Exchange Reservation(s) Returns one or more `Reservations` in exchange for one or more `Reservation` purchases.

Parameters:

body - Request containing the refunds and purchases that need to be executed.
context - The context to associate with this operation.

Returns:

exchange operation result.

Applies to