Reservations

reservations

Methods

Create Reservation -> { id, active_from, active_to, 16 more... }
post/v1/reservations

Create reservation

Delete Reservation ->
delete/v1/reservations/{reservation_id}

Delete reservation

List Reservations -> OffsetPage<{ id, active_from, active_to, 16 more... }>
get/v1/reservations

List reservations

Parameters
activated_from: string
Optional
(format: date)

Lower bound, starting from what date the reservation was/will be activated

activated_to: string
Optional
(format: date)

High bound, before what date the reservation was/will be activated

created_from: string
Optional
(format: date-time)

Lower bound the filter, showing result(s) equal to or greater than date the reservation was created

created_to: string
Optional
(format: date-time)

High bound the filter, showing result(s) equal to or less date the reservation was created

deactivated_from: string
Optional
(format: date)

Lower bound, starting from what date the reservation was/will be deactivated

deactivated_to: string
Optional
(format: date)

High bound, before what date the reservation was/will be deactivated

limit: number
Optional
(minimum: 1)

Limit of reservation list page

metric_name: string
Optional

Name from billing features for specific resource

offset: number
Optional
(minimum: 0)

Offset in reservation list

region_id: number
Optional

Region for reservation

status: Array<
Optional

Field for fixed a status by reservation workflow

"ACTIVATED"
"APPROVED"
"COPIED"
"CREATED"
"EXPIRED"
"REJECTED"
"RESERVED"
"WAITING_FOR_PAYMENT"
>
Response fields
count: number
(minimum: 0)

Number of objects

results: Array<{ id, active_from, active_to, 16 more... }>

Objects

Request example
200Example
List Of Bare Metal Flavors That Are Available For Reservation -> Array<{ activity_period, activity_period_length, architecture, 9 more... }>
get/v1/bm_reservation_flavors/{region_id}

List of bare metal flavors that are available for reservation

Parameters
region_id: number
client_id_: number
Optional

Client identifier. Must be used for users w/o client_id in jwt

disabled: boolean
Optional

Flag for filtering disabled flavors in the region. Defaults to true

ensure_cached: string
Optional

None

windows_os: boolean
Optional

Set to true to get only flavors with Windows OS, false to get only with Linux OS, None option to without the OS filter. Defaults to none.

Request example
200Example
Get Specific Reservation -> { id, active_from, active_to, 16 more... }
get/v1/reservations/{reservation_id}

Get specific reservation