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",
"nodeSelector": "gpu-node-01",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-12-07T15:44:32.503Z"
}
]
}The virtual machine id
vm-2024093009357617The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvrThe cluster you're operating on
Hou1Success
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",
"nodeSelector": "gpu-node-01",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-12-07T15:44:32.503Z"
}Name of virtual server to be created. If not provided, name will be auto-generated.
my-denvr-vmName 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-denvrName of the VPC to be used. Usually this will match the tenant name.
denvrName 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_1xCluster to be used. For possible values, refer to the otput of api/v1/clusters/GetAll"/>
Hou1Snapshot name.
Name of the Operating System image to be used.
Ubuntu 22.04.4 LTSPersonal storage file system mount path.
/home/ubuntu/personalTenant shared storage file system mount path.
/home/ubuntu/tenant-sharedWhether direct attached storage should be persistant or ephemeral.
Direct attached storage mount path.
/home/ubuntu/direct-attachedSize of root disk to be created (Gi).
500Specific node name to target for VM deployment. Used for non-on-demand resource pools to allow node-specific scheduling. Maps to Kubernetes nodeSelector with kubernetes.io/hostname label.
yycdp-dev-k8sw03Accepted
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: 443
{
"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,
"selectedNode": "yycdp-dev-k8sw03"
}{
"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",
"nodeSelector": "gpu-node-01",
"status": "ONLINE",
"storageType": "text",
"rootDiskSize": "text",
"lastUpdated": "2025-12-07T15:44:32.503Z"
}Start a virtual machine that has been previously set up and provisioned, but is currently OFFLINE
The virtual machine id
vm-2024093009357617The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvrThe cluster you're operating on
Hou1Accepted
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-2024093009357617The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvrThe cluster you're operating on
Hou1Accepted
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-2024093009357617The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvrThe cluster you're operating on
Hou1Accepted
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"
]
}
]
}Hou1reserved-denvrcontrols 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.
trueSuccess
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,
"availableNodeNames": [
"text"
]
}
]
}The virtual machine id
vm-2024093009357617The namespace/vpc where the virtual machine lives. Default one is same as tenant name.
denvrThe cluster you're operating on
Hou1The maximum number of log entries to return. Defaults to 2000.
2000Success
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