mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-30 00:30:42 +00:00
vmlist: document 'uptime' and 'cpus' returmn value
This commit is contained in:
parent
4e09f915bf
commit
03f879fd85
@ -399,6 +399,17 @@ __PACKAGE__->register_method({
|
|||||||
type => 'integer',
|
type => 'integer',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
|
uptime => {
|
||||||
|
description => "Uptime.",
|
||||||
|
type => 'integer',
|
||||||
|
optional => 1,
|
||||||
|
renderer => 'duration',
|
||||||
|
},
|
||||||
|
cpus => {
|
||||||
|
description => "Maximum usable CPUs.",
|
||||||
|
type => 'number',
|
||||||
|
optional => 1,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
links => [ { rel => 'child', href => "{vmid}" } ],
|
links => [ { rel => 'child', href => "{vmid}" } ],
|
||||||
|
Loading…
Reference in New Issue
Block a user