Virtual Machine
Create a new VM in a specific location of a project
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the project
Example:
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
Example:
"eu-central-h1"
Virtual machine name
Body
application/json
Public SSH key for the VM
Boot image of the VM
Enable IPv4
ID of the private subnet
Size of the VM
Requested storage size in GiB
Unix user of the VM
Response
200
application/json
A VM
ID of the VM
Example:
"vmhfy8gff8c67hasb0eez2k1pd"
IPv4 address
Whether IPv4 is enabled
IPv6 address
Location of the VM
Example:
"eu-central-h1"
Name of the VM
Example:
"my-vm-name"
Size of the underlying VM
State of the VM
Storage size in GiB
Unix user of the VM
List of firewalls
Private IPv4 address
Private IPv6 address
Subnet of the VM