ReservationOrdersClient Interface

public interface ReservationOrdersClient

An instance of this class provides access to all the operations defined in ReservationOrdersClient.

Method Summary

Modifier and Type Method and Description
abstract ReservationOrderInner getByBillingAccount(String billingAccountName, String reservationOrderId)

Get a specific ReservationOrder in the billing account.

abstract Response<ReservationOrderInner> getByBillingAccountWithResponse(String billingAccountName, String reservationOrderId, String expand, Context context)

Get a specific ReservationOrder in the billing account.

abstract PagedIterable<ReservationOrderInner> listByBillingAccount(String billingAccountName)

Get all `ReservationOrders in the billing account.

abstract PagedIterable<ReservationOrderInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Float skiptoken, Context context)

Get all `ReservationOrders in the billing account.

Method Details

getByBillingAccount

public abstract ReservationOrderInner getByBillingAccount(String billingAccountName, String reservationOrderId)

Get a specific ReservationOrder in the billing account. Get the details of the ReservationOrder in the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
reservationOrderId - Order Id of the reservation.

Returns:

the details of the ReservationOrder in the billing account.

getByBillingAccountWithResponse

public abstract Response<ReservationOrderInner> getByBillingAccountWithResponse(String billingAccountName, String reservationOrderId, String expand, Context context)

Get a specific ReservationOrder in the billing account. Get the details of the ReservationOrder in the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
reservationOrderId - Order Id of the reservation.
expand - May be used to expand the detail information of some properties.
context - The context to associate with this operation.

Returns:

the details of the ReservationOrder in the billing account along with Response<T>.

listByBillingAccount

public abstract PagedIterable<ReservationOrderInner> listByBillingAccount(String billingAccountName)

Get all `ReservationOrders in the billing account. List all the `ReservationOrders in the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

list of ReservationOrders as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<ReservationOrderInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Float skiptoken, Context context)

Get all `ReservationOrders in the billing account. List all the `ReservationOrders in the billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
skiptoken - The number of reservations to skip from the list before returning results.
context - The context to associate with this operation.

Returns:

list of ReservationOrders as paginated response with PagedIterable<T>.

Applies to