vmlist: document 'uptime' and 'cpus' returmn value

This commit is contained in:
Dietmar Maurer 2018-07-31 13:31:49 +02:00
parent 4e09f915bf
commit 03f879fd85

View File

@ -399,6 +399,17 @@ __PACKAGE__->register_method({
type => 'integer',
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}" } ],