Skip to main content

reservation_orders

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

Overview

Namereservation_orders
TypeResource
Idazure.reservations.reservation_orders

Fields

NameDatatypeDescription
idtextIdentifier of the reservation
nametextName of the reservation
benefit_start_timetextfield from the properties object
billing_plantextfield from the properties object
created_date_timetextfield from the properties object
display_nametextfield from the properties object
etagintegerfield from the properties object
expiry_datetextfield from the properties object
expiry_date_timetextfield from the properties object
original_quantitytextfield from the properties object
plan_informationtextfield from the properties object
provisioning_statetextfield from the properties object
request_date_timetextfield from the properties object
reservationOrderIdtextfield from the properties object
reservationstextfield from the properties object
review_date_timetextfield from the properties object
system_datatextfield from the properties object
termtextfield from the properties object
typetextType of resource. "Microsoft.Capacity/reservations"

Methods

NameAccessible byRequired ParamsDescription
getSELECTreservationOrderIdGet the details of the ReservationOrder.
listSELECTList of all the ReservationOrders that the user has access to in the current tenant.
calculateEXECCalculate price for placing a ReservationOrder.
change_directoryEXECreservationOrderIdChange directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id
purchaseEXECreservationOrderIdPurchase ReservationOrder and create resource under the specified URI.

SELECT examples

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

SELECT
id,
name,
benefit_start_time,
billing_plan,
created_date_time,
display_name,
etag,
expiry_date,
expiry_date_time,
original_quantity,
plan_information,
provisioning_state,
request_date_time,
reservationOrderId,
reservations,
review_date_time,
system_data,
term,
type
FROM azure.reservations.vw_reservation_orders
;