ReservationOrderOperations interface

Interface representing a ReservationOrder operations.

Properties

beginPurchase
beginPurchaseAndWait
calculate

Calculate price for placing a ReservationOrder.

changeDirectory

Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id

get

Get the details of the ReservationOrder.

list

List of all the ReservationOrders that the user has access to in the current tenant.

purchase

Purchase ReservationOrder and create resource under the specified URI.

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>