vms
Launch a VM
Creates a new VM, either from a machineType (fresh boot) or a snapshotId (restore from snapshot).
- Returns 201 when the VM is already running in the response.
- Returns 202 when the VM is queued; clients must poll GET /v1/vms/{id} until status transitions to running. Terminal failure statuses are error and stopped.
The SDK's launch() helper handles the 201/202 branching and polling automatically.
post/v1/vms
Request body
Response
VM is already running