71 lines
1.3 KiB
JSON
71 lines
1.3 KiB
JSON
{
|
|
"vm_capacity": {
|
|
"host_name": "",
|
|
"max_vms": 0,
|
|
"running_vms": 0,
|
|
"total_cpu_cores": 0,
|
|
"total_disk_gb": 0,
|
|
"total_memory_mb": 0,
|
|
"used_cpu_cores": 0,
|
|
"used_disk_gb": 0,
|
|
"used_memory_mb": 0
|
|
},
|
|
"vm_cloud_init": {
|
|
"enabled": true
|
|
},
|
|
"vm_config": {
|
|
"auto_cleanup": false,
|
|
"backend": "libvirt",
|
|
"base_image": "ubuntu-22.04",
|
|
"cpu": 2,
|
|
"disk_gb": 20,
|
|
"graphics_enable": false,
|
|
"memory_mb": 4096,
|
|
"name": "",
|
|
"nested_virt": false,
|
|
"network_mode": "bridge",
|
|
"permanent": false,
|
|
"serial_console": true,
|
|
"taskservs": [],
|
|
"temporary": false
|
|
},
|
|
"vm_image": {
|
|
"base_os": "ubuntu",
|
|
"format": "qcow2",
|
|
"name": "",
|
|
"os_version": "22.04",
|
|
"path": "",
|
|
"size_gb": 0
|
|
},
|
|
"vm_mount": {
|
|
"guest_path": "",
|
|
"host_path": "",
|
|
"readonly": false
|
|
},
|
|
"vm_network": {
|
|
"name": "default",
|
|
"type": "nat"
|
|
},
|
|
"vm_port_mapping": {
|
|
"guest_port": 0,
|
|
"host_port": 0,
|
|
"protocol": "tcp"
|
|
},
|
|
"vm_registry": {
|
|
"permanent_count": 0,
|
|
"temporary_count": 0,
|
|
"updated_at": "",
|
|
"vms": []
|
|
},
|
|
"vm_state": {
|
|
"created_at": "",
|
|
"permanent": false,
|
|
"state": "stopped",
|
|
"vm_name": ""
|
|
},
|
|
"vm_volume": {
|
|
"format": "qcow2",
|
|
"name": "",
|
|
"size_gb": 0
|
|
}
|
|
}
|