Skip to main content

reservation_orders

Creates, updates, deletes, gets or lists a reservation_orders resource.

Overview

Namereservation_orders
TypeResource
Idazure.billing.reservation_orders

Fields

The following fields are returned by SELECT queries:

Get the details of the ReservationOrder.

NameDatatypeDescription
etaginteger (int32)
propertiesobjectThe properties associated to this reservation order
tagsobjectTags for this reservation

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_billing_accountselectbillingAccountName, reservationOrderIdexpandGet the details of the ReservationOrder in the billing account.
list_by_billing_accountselectbillingAccountNamefilter, orderBy, skiptokenList all the `ReservationOrders in the billing account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billingAccountNamestringThe ID that uniquely identifies a billing account.
reservationOrderIdstringOrder Id of the reservation
expandstringMay be used to expand the planInformation.
filterstringThe filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBystringThe orderby query option allows clients to request resources in a particular order.
skiptokennumberThe number of savings plans to skip from the list before returning results

SELECT examples

Get the details of the ReservationOrder in the billing account.

SELECT
etag,
properties,
tags
FROM azure.billing.reservation_orders
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND reservationOrderId = '{{ reservationOrderId }}' -- required
AND expand = '{{ expand }}'
;