Skip to main content
POST
Create VM
Create a new VM instance in a project.

Required Parameters

  • name: VM name
  • type: VM type/size
  • location: Deployment location
  • ssh_public_key: SSH public key for access

Optional Parameters

  • image: OS image name
  • disks: Additional disk configurations
  • startup_script: Script to run on startup
  • shutdown_script: Script to run on shutdown

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Project id

Body

application/json
name
string
required

Name

type
string
required

VM Type

location
string
required

Location

ssh_public_key
string
required

SSH public key

image
string

Image name

disks
object[]

Disks

startup_script
string

Startup script

shutdown_script
string

Shutdown script

Response

200 - application/json
operation
object
required