ReservationOrdersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BillingManagementClient's

<xref:reservation_orders> attribute.

Constructor

ReservationOrdersOperations(*args, **kwargs)

Methods

get_by_billing_account

Get a specific ReservationOrder in the billing account.

Get the details of the ReservationOrder in the billing account.

list_by_billing_account

Get all >>`<<ReservationOrders in the billing account.

List all the ReservationOrders in the billing account.

get_by_billing_account

Get a specific ReservationOrder in the billing account.

Get the details of the ReservationOrder in the billing account.

get_by_billing_account(billing_account_name: str, reservation_order_id: str, *, expand: str | None = None, **kwargs: Any) -> ReservationOrder

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

reservation_order_id
Required
str

Order Id of the reservation. Required.

Keyword-Only Parameters

Name Description
expand
str

May be used to expand the detail information of some properties. Default value is None.

Default value: None

Returns

Type Description

ReservationOrder. The ReservationOrder is compatible with MutableMapping

Exceptions

Type Description

list_by_billing_account

Get all >>`<<ReservationOrders in the billing account.

List all the ReservationOrders in the billing account.

list_by_billing_account(billing_account_name: str, *, filter: str | None = None, order_by: str | None = None, skiptoken: float | None = None, **kwargs: Any) -> ItemPaged[ReservationOrder]

Parameters

Name Description
billing_account_name
Required
str

The ID that uniquely identifies a billing account. Required.

Keyword-Only Parameters

Name Description
filter
str

The filter query option allows clients to filter a collection of resources that are addressed by a request URL. Default value is None.

Default value: None
order_by
str

The orderby query option allows clients to request resources in a particular order. Default value is None.

Default value: None
skiptoken

The number of reservations to skip from the list before returning results. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of ReservationOrder

Exceptions

Type Description