Virtual machines
Explore this section for comprehensive information on endpoints related to the deployment, management, and operation of virtual machines within our cloud software API environment.
Success
Bad Request
Unauthorized
Forbidden
Not Found
Server Error
GET /api/v1/servers/virtual/GetServers HTTP/1.1
Host:
Accept: */*
{
"items": [
{
"username": "[email protected]",
"tenancy_name": "denvr",
"rpool": "on-demand",
"directAttachedStoragePersisted": true,
"id": "my-denvr-vm",
"namespace": "text",
"configuration": "15",
"storage": 13600,
"gpu_type": "nvidia.com/A100PCIE40GB",
"gpus": 8,
"vcpus": 120,
"memory": 940,
"ip": "123.45.67.89",
"privateIp": "120.77.3.21",
"image": "Ubuntu_22.04.4_LTS",
"cluster": "Msc1",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-10-23T16:34:04.312Z"
}
]
}
The virtual machine id
vm-2024093009357617
The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvr
The cluster you're operating on
Hou1
Success
Bad Request
Unauthorized
Forbidden
Not Found
Server Error
GET /api/v1/servers/virtual/GetServer?Id=vm-2024093009357617&Namespace=denvr&Cluster=Hou1 HTTP/1.1
Host:
Accept: */*
{
"username": "[email protected]",
"tenancy_name": "denvr",
"rpool": "on-demand",
"directAttachedStoragePersisted": true,
"id": "my-denvr-vm",
"namespace": "text",
"configuration": "15",
"storage": 13600,
"gpu_type": "nvidia.com/A100PCIE40GB",
"gpus": 8,
"vcpus": 120,
"memory": 940,
"ip": "123.45.67.89",
"privateIp": "120.77.3.21",
"image": "Ubuntu_22.04.4_LTS",
"cluster": "Msc1",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-10-23T16:34:04.312Z"
}
Name of virtual server to be created. If not provided, name will be auto-generated.
my-denvr-vm
Name of the pool to be used. If not provided, first pool assigned to a tenant will be used. In case of no pool assigned, 'on-demand' will be used.
reserved-denvr
Name of the VPC to be used. Usually this will match the tenant name.
denvr
Name of the configuration to be used. For possible values, refer to the otput of api/v1/servers/virtual/GetConfigurations, field 'name' DenvrDashboard.Servers.Dtos.ServerConfiguration.Name
A100_40GB_PCIe_1x
Cluster to be used. For possible values, refer to the otput of api/v1/clusters/GetAll"/>
Hou1
Snapshot name.
Name of the Operating System image to be used.
Ubuntu 22.04.4 LTS
Personal storage file system mount path.
/home/ubuntu/personal
Tenant shared storage file system mount path.
/home/ubuntu/tenant-shared
Whether direct attached storage should be persistant or ephemeral.
Direct attached storage mount path.
/home/ubuntu/direct-attached
Size of root disk to be created (Gi).
500
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Server Error
Server Error
POST /api/v1/servers/virtual/CreateServer HTTP/1.1
Host:
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 409
{
"name": "my-denvr-vm",
"rpool": "reserved-denvr",
"vpc": "denvr",
"configuration": "A100_40GB_PCIe_1x",
"cluster": "Hou1",
"ssh_keys": [
"text"
],
"snapshotName": "text",
"operatingSystemImage": "Ubuntu 22.04.4 LTS",
"personalStorageMountPath": "/home/ubuntu/personal",
"tenantSharedAdditionalStorage": "/home/ubuntu/tenant-shared",
"persistStorage": true,
"directStorageMountPath": "/home/ubuntu/direct-attached",
"rootDiskSize": 500
}
{
"username": "[email protected]",
"tenancy_name": "denvr",
"rpool": "on-demand",
"directAttachedStoragePersisted": true,
"id": "my-denvr-vm",
"namespace": "text",
"configuration": "15",
"storage": 13600,
"gpu_type": "nvidia.com/A100PCIE40GB",
"gpus": 8,
"vcpus": 120,
"memory": 940,
"ip": "123.45.67.89",
"privateIp": "120.77.3.21",
"image": "Ubuntu_22.04.4_LTS",
"cluster": "Msc1",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-10-23T16:34:04.312Z"
}
Start a virtual machine that has been previously set up and provisioned, but is currently OFFLINE
The virtual machine id
vm-2024093009357617
The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvr
The cluster you're operating on
Hou1
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Server Error
Server Error
POST /api/v1/servers/virtual/StartServer HTTP/1.1
Host:
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 65
{
"id": "vm-2024093009357617",
"namespace": "denvr",
"cluster": "Hou1"
}
{
"id": "text",
"cluster": "text",
"status": "text"
}
Stop a virtual machine, ensuring a secure and orderly shutdown of its operations within the cloud environment
The virtual machine id
vm-2024093009357617
The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvr
The cluster you're operating on
Hou1
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Server Error
POST /api/v1/servers/virtual/StopServer HTTP/1.1
Host:
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 65
{
"id": "vm-2024093009357617",
"namespace": "denvr",
"cluster": "Hou1"
}
{
"id": "text",
"cluster": "text",
"status": "text"
}
Permanently delete a specified virtual machine, effectively wiping all its data and freeing up resources for other uses
Should also delete snapshots with virtual machine.
The virtual machine id
vm-2024093009357617
The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvr
The cluster you're operating on
Hou1
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Server Error
DELETE /api/v1/servers/virtual/DestroyServer?Id=vm-2024093009357617&Namespace=denvr&Cluster=Hou1 HTTP/1.1
Host:
Accept: */*
{
"id": "text",
"cluster": "text",
"status": "text"
}
Success
Bad Request
Unauthorized
Forbidden
Server Error
GET /api/v1/servers/virtual/GetConfigurations HTTP/1.1
Host:
Accept: */*
{
"items": [
{
"id": 1,
"user_friendly_name": "text",
"name": "text",
"description": "text",
"storage": 1,
"type": "text",
"brand_family": "text",
"brand": "text",
"text_name": "text",
"gpus": 1,
"vcpus": 1,
"memory": 1,
"price": 1,
"compute_network": "text",
"is_gpu_platform": true,
"clusters": [
"text"
]
}
]
}
Hou1
reserved-denvr
controls if Count and MaxCount is calculated and returned in the response. If they are not needed, use 'false' to improve response time of the endpoint.
true
Success
Bad Request
Unauthorized
Forbidden
Server Error
GET /api/v1/servers/virtual/GetAvailability?cluster=text HTTP/1.1
Host:
Accept: */*
{
"items": [
{
"configuration": "text",
"cluster": "text",
"rpool": "text",
"price": 1,
"available": true,
"count": 1,
"maxCount": 1
}
]
}
The virtual machine id
vm-2024093009357617
The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvr
The cluster you're operating on
Hou1
The maximum number of log entries to return. Defaults to 2000.
2000
Success
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Server Error
GET /api/v1/servers/virtual/GetVirtualMachineBootLogs?Id=vm-2024093009357617&Namespace=denvr&Cluster=Hou1&Limit=2000 HTTP/1.1
Host:
Accept: */*
{
"id": "text",
"namespace": "text",
"cluster": "text",
"bootLogs": "text"
}
Last updated