vmstatus: document more return types

namely 'cpu' and 'mem'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2024-12-17 10:32:06 +01:00 committed by Thomas Lamprecht
parent 03614a8992
commit 1b0df64e87

View File

@ -2793,6 +2793,12 @@ our $vmstatus_return_properties = {
type => 'string',
enum => ['stopped', 'running'],
},
mem => {
description => "Current memroy usage in bytes.",
type => 'integer',
optional => 1,
renderer => 'bytes',
},
maxmem => {
description => "Maximum memory in bytes.",
type => 'integer',
@ -2854,6 +2860,11 @@ our $vmstatus_return_properties = {
optional => 1,
renderer => 'duration',
},
cpu => {
description => "Current CPU usage.",
type => 'number',
optional => 1,
},
cpus => {
description => "Maximum usable CPUs.",
type => 'number',