POST
/
project
/
{project_id}
/
location
/
{location}
/
vm
/
{vm_name}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

location
string
required

The Ubicloud location/region

vm_name
string
required

Virtual machine name

Body

application/json
public_key
string
required

Public SSH key for the VM

boot_image
string

Boot image of the VM

enable_ip4
boolean

Enable IPv4

private_subnet_id
string

ID of the private subnet

size
string

Size of the VM

storage_size
integer

Requested storage size in GiB

unix_user
string

Unix user of the VM

Response

200 - application/json
id
string
required

ID of the VM

ip4
string | null
required

IPv4 address

ip6
string | null
required

IPv6 address

location
string
required

Location of the VM

name
string
required

Name of the VM

size
string
required

Size of the underlying VM

state
string
required

State of the VM

storage_size_gib
integer
required

Storage size in GiB

unix_user
string
required

Unix user of the VM

firewalls
object[]
required

List of firewalls

private_ipv4
string
required

Private IPv4 address

private_ipv6
string
required

Private IPv6 address

subnet
string
required

Subnet of the VM