ReservationOrderOperations interface
Interface representing a ReservationOrder operations.
Properties
| begin |
|
| begin |
|
| calculate | Calculate price for placing a |
| change |
Change directory (tenant) of |
| get | Get the details of the |
| list | List of all the |
| purchase | Purchase |
Property Details
beginPurchase
Warning
This API is now deprecated.
use purchase instead
beginPurchase: (reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => Promise<SimplePollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>>
Property Value
(reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => Promise<SimplePollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>>
beginPurchaseAndWait
Warning
This API is now deprecated.
use purchase instead
beginPurchaseAndWait: (reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => Promise<ReservationOrderResponse>
Property Value
(reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => Promise<ReservationOrderResponse>
calculate
Calculate price for placing a ReservationOrder.
calculate: (body: PurchaseRequest, options?: ReservationOrderCalculateOptionalParams) => Promise<CalculatePriceResponse>
Property Value
(body: PurchaseRequest, options?: ReservationOrderCalculateOptionalParams) => Promise<CalculatePriceResponse>
changeDirectory
Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id
changeDirectory: (reservationOrderId: string, body: ChangeDirectoryRequest, options?: ReservationOrderChangeDirectoryOptionalParams) => Promise<ChangeDirectoryResponse>
Property Value
(reservationOrderId: string, body: ChangeDirectoryRequest, options?: ReservationOrderChangeDirectoryOptionalParams) => Promise<ChangeDirectoryResponse>
get
Get the details of the ReservationOrder.
get: (reservationOrderId: string, options?: ReservationOrderGetOptionalParams) => Promise<ReservationOrderResponse>
Property Value
(reservationOrderId: string, options?: ReservationOrderGetOptionalParams) => Promise<ReservationOrderResponse>
list
List of all the ReservationOrders that the user has access to in the current tenant.
list: (options?: ReservationOrderListOptionalParams) => PagedAsyncIterableIterator<ReservationOrderResponse, ReservationOrderResponse[], PageSettings>
Property Value
(options?: ReservationOrderListOptionalParams) => PagedAsyncIterableIterator<ReservationOrderResponse, ReservationOrderResponse[], PageSettings>
purchase
Purchase ReservationOrder and create resource under the specified URI.
purchase: (reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => PollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>
Property Value
(reservationOrderId: string, body: PurchaseRequest, options?: ReservationOrderPurchaseOptionalParams) => PollerLike<OperationState<ReservationOrderResponse>, ReservationOrderResponse>