Get a virtual machine by ID
Authentication
X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret
Path parameters
id
ID of the virtual machine
Response
The virtual machine
id
Unique identifier for this virtual machine.
name
Human-readable name for the VM. Shown in dashboards and CLI output.
status
Current lifecycle state of the VM. Observed values include CREATING, STARTING, CREATED, STARTED, STOPPING, STOPPED, and DESTROYED. Treat this as an open set — new states may be introduced over time.
region
Region the VM is provisioned in. References a region label from /v1/compute/regions.
cpu
Number of virtual CPUs allocated to the VM.
memoryMb
Memory allocated to the VM, in megabytes.
rootDiskGb
Root disk size, in gigabytes.
image
Image label the VM was provisioned from. References /v1/compute/images.
ipAddress
Primary IP address assigned to the VM on its network.
networkName
Name of the network or VPC tier this VM is attached to. Null while the VM is still provisioning.
networkId
Identifier of the network or VPC tier this VM is attached to. Null while the VM is still provisioning.
rootVolumeId
Identifier of the VM root volume. Null while the VM is still provisioning.
createdAt
When the VM was first provisioned.
vmPackage
Package label identifying the CPU/memory/disk preset this VM uses.
subscriptionPeriod
Billing cadence applied to this VM. Absent for a few moments after the VM is created, while the billing term is still being recorded. Poll until it appears.
imageDisplayName
Friendly name of the source image.
versionStartedAt
When the current billing version started (set when the VM is scaled or its disk is resized). Only present if the VM has been modified since creation.
marketplaceApp
Source marketplace app, when the VM was deployed from one. Absent for OS-only deploys.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error