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
ID of the VM
ip4
string | null
IPv4 address
ip6
string | null
IPv6 address
location
string
Location of the VM
name
string
Name of the VM
size
string
Size of the underlying VM
state
string
State of the VM
storage_size_gib
integer
Storage size in GiB
unix_user
string
Unix user of the VM
firewalls
object[]
List of firewalls
private_ipv4
string
Private IPv4 address
private_ipv6
string
Private IPv6 address
subnet
string
Subnet of the VM