Exchange interface

Interface representing a Exchange.

Methods

beginPost(ExchangeRequest, ExchangePostOptionalParams)

Returns one or more Reservations in exchange for one or more Reservation purchases.

beginPostAndWait(ExchangeRequest, ExchangePostOptionalParams)

Returns one or more Reservations in exchange for one or more Reservation purchases.

Method Details

beginPost(ExchangeRequest, ExchangePostOptionalParams)

Returns one or more Reservations in exchange for one or more Reservation purchases.

function beginPost(body: ExchangeRequest, options?: ExchangePostOptionalParams): Promise<SimplePollerLike<OperationState<ExchangeOperationResultResponse>, ExchangeOperationResultResponse>>

Parameters

body
ExchangeRequest

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

options
ExchangePostOptionalParams

The options parameters.

Returns

beginPostAndWait(ExchangeRequest, ExchangePostOptionalParams)

Returns one or more Reservations in exchange for one or more Reservation purchases.

function beginPostAndWait(body: ExchangeRequest, options?: ExchangePostOptionalParams): Promise<ExchangeOperationResultResponse>

Parameters

body
ExchangeRequest

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

options
ExchangePostOptionalParams

The options parameters.

Returns