The Server Creation Options Object holds available options when creating a new server for a particular host.

Field

Type

Example

Description

hostID

Integer

0 (Digital Ocean)
1 (Vultr)
2 (Linode)
4 (BItLaunch

The Host Identifier for the set of creation options.

image

Array of Objects

[ Host Image Object ]

A list of images to choose from.

region

Array of Objects

[ Host Region Object ]

A list of regions to choose from.

size

Array of Sizes

[ Host Size Object ]

A list of sizes to choose from.

available

Bool

true/false

If the host is currently available.

hostOptions

Object

{
    "rebuild":true,
    "resize":true,
    "backups":false,
    "userScript":false
}

A list of server actions that are available for a host.

rebuild If rebuilding a server is possible on this host.

resize If resizing a server is possible on this host.

backups If it's possible to enable backups (uses the host's backup feature).

userScript If it's possible to give the server an init script.