Virtual Machine
Create a new VM in a specific location of a project
POST
/
project
/
{project_id}
/
location
/
{location}
/
vm
/
{vm_name}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
project_id
string
requiredID of the project
location
string
requiredThe Ubicloud location/region
vm_name
string
requiredVirtual machine name
Body
application/json
public_key
string
requiredPublic 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
requiredID of the VM
ip4
string | null
requiredIPv4 address
ip6
string | null
requiredIPv6 address
location
string
requiredLocation of the VM
name
string
requiredName of the VM
size
string
requiredSize of the underlying VM
state
string
requiredState of the VM
storage_size_gib
integer
requiredStorage size in GiB
unix_user
string
requiredUnix user of the VM
firewalls
object[]
requiredList of firewalls
private_ipv4
string
requiredPrivate IPv4 address
private_ipv6
string
requiredPrivate IPv6 address
subnet
string
requiredSubnet of the VM