109 lines
1.9 KiB
JSON
109 lines
1.9 KiB
JSON
{
|
|
"name": "VirtualMachine",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "VM Name"
|
|
},
|
|
"vmid": {
|
|
"type": "number",
|
|
"title": "VM ID"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"running",
|
|
"stopped",
|
|
"paused",
|
|
"migrating",
|
|
"error"
|
|
],
|
|
"title": "Status"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"qemu",
|
|
"lxc"
|
|
],
|
|
"title": "Type"
|
|
},
|
|
"node": {
|
|
"type": "string",
|
|
"title": "Proxmox Node"
|
|
},
|
|
"tenant_id": {
|
|
"type": "string",
|
|
"title": "Tenant ID"
|
|
},
|
|
"os_template": {
|
|
"type": "string",
|
|
"title": "OS Template"
|
|
},
|
|
"cpu_cores": {
|
|
"type": "number",
|
|
"title": "CPU Cores"
|
|
},
|
|
"ram_mb": {
|
|
"type": "number",
|
|
"title": "RAM (MB)"
|
|
},
|
|
"disk_gb": {
|
|
"type": "number",
|
|
"title": "Disk (GB)"
|
|
},
|
|
"ip_address": {
|
|
"type": "string",
|
|
"title": "IP Address"
|
|
},
|
|
"cpu_usage": {
|
|
"type": "number",
|
|
"title": "CPU Usage %"
|
|
},
|
|
"ram_usage": {
|
|
"type": "number",
|
|
"title": "RAM Usage %"
|
|
},
|
|
"disk_usage": {
|
|
"type": "number",
|
|
"title": "Disk Usage %"
|
|
},
|
|
"network_in": {
|
|
"type": "number",
|
|
"title": "Network In (MB)"
|
|
},
|
|
"network_out": {
|
|
"type": "number",
|
|
"title": "Network Out (MB)"
|
|
},
|
|
"uptime_seconds": {
|
|
"type": "number",
|
|
"title": "Uptime (seconds)"
|
|
},
|
|
"billing_plan_id": {
|
|
"type": "string",
|
|
"title": "Billing Plan ID"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Tags"
|
|
},
|
|
"notes": {
|
|
"type": "string",
|
|
"title": "Notes"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"status",
|
|
"type",
|
|
"node",
|
|
"cpu_cores",
|
|
"ram_mb",
|
|
"disk_gb"
|
|
]
|
|
} |