CreateInstanceRequest
Deploy either from an OS image (os) or by restoring a snapshot (snapshot_uuid). The id fields are sent as strings.
hostnamestringrequired
Example:
web-01.example.comlocationstringrequired
Location id.
Example:
1packagestringrequired
Plan (package) id.
Example:
4osstring
OS image id. Use this or snapshot_uuid.
Example:
7authstring
password (default) to generate a root password, or the id of an SSH key on the account for key-based auth.
Default value:
passwordExample:
passwordsnapshot_uuidstring<uuid>
Restore from this snapshot instead of an OS image.
CreateInstanceRequest
{
"hostname": "web-01.example.com",
"location": "1",
"package": "4",
"os": "7",
"auth": "password",
"snapshot_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}