reservation_orders
Creates, updates, deletes, gets or lists a reservation_orders
resource.
Overview
Name | reservation_orders |
Type | Resource |
Id | azure.reservations.reservation_orders |
Fields
- vw_reservation_orders
- reservation_orders
Name | Datatype | Description |
---|---|---|
id | text | Identifier of the reservation |
name | text | Name of the reservation |
benefit_start_time | text | field from the properties object |
billing_plan | text | field from the properties object |
created_date_time | text | field from the properties object |
display_name | text | field from the properties object |
etag | integer | field from the properties object |
expiry_date | text | field from the properties object |
expiry_date_time | text | field from the properties object |
original_quantity | text | field from the properties object |
plan_information | text | field from the properties object |
provisioning_state | text | field from the properties object |
request_date_time | text | field from the properties object |
reservationOrderId | text | field from the properties object |
reservations | text | field from the properties object |
review_date_time | text | field from the properties object |
system_data | text | field from the properties object |
term | text | field from the properties object |
type | text | Type of resource. "Microsoft.Capacity/reservations" |
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the reservation |
name | string | Name of the reservation |
etag | integer | |
properties | object | Properties of a reservation order. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Type of resource. "Microsoft.Capacity/reservations" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | reservationOrderId | Get the details of the ReservationOrder . |
list | SELECT |
| List of all the ReservationOrder s that the user has access to in the current tenant. |
calculate | EXEC |
| Calculate price for placing a ReservationOrder . |
change_directory | EXEC | reservationOrderId | Change directory (tenant) of ReservationOrder and all Reservation under it to specified tenant id |
purchase | EXEC | reservationOrderId | Purchase ReservationOrder and create resource under the specified URI. |
SELECT
examples
List of all the ReservationOrder
s that the user has access to in the current tenant.
- vw_reservation_orders
- reservation_orders
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
;
SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.reservations.reservation_orders
;