reservation_orders
Creates, updates, deletes, gets or lists a reservation_orders
resource.
Overview
Name | reservation_orders |
Type | Resource |
Id | azure.billing.reservation_orders |
Fields
The following fields are returned by SELECT
queries:
- get_by_billing_account
- list_by_billing_account
Get the details of the ReservationOrder
.
Name | Datatype | Description |
---|---|---|
etag | integer (int32) | |
properties | object | The properties associated to this reservation order |
tags | object | Tags for this reservation |
List of ReservationOrders
Name | Datatype | Description |
---|---|---|
etag | integer (int32) | |
properties | object | The properties associated to this reservation order |
tags | object | Tags for this reservation |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_by_billing_account | select | billingAccountName , reservationOrderId | expand | Get the details of the ReservationOrder in the billing account. |
list_by_billing_account | select | billingAccountName | filter , orderBy , skiptoken | List 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.
Name | Datatype | Description |
---|---|---|
billingAccountName | string | The ID that uniquely identifies a billing account. |
reservationOrderId | string | Order Id of the reservation |
expand | string | May be used to expand the planInformation. |
filter | string | The filter query option allows clients to filter a collection of resources that are addressed by a request URL. |
orderBy | string | The orderby query option allows clients to request resources in a particular order. |
skiptoken | number | The number of savings plans to skip from the list before returning results |
SELECT
examples
- get_by_billing_account
- list_by_billing_account
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 }}'
;
List all the `ReservationOrders in the billing account.
SELECT
etag,
properties,
tags
FROM azure.billing.reservation_orders
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND skiptoken = '{{ skiptoken }}'
;