storage zfs: changed return value description & optionals
Signed-off-by: Tim Marx <t.marx@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
a49fc735e5
commit
32f749b840
@ -171,25 +171,29 @@ __PACKAGE__->register_method ({
|
|||||||
},
|
},
|
||||||
children => {
|
children => {
|
||||||
type => 'array',
|
type => 'array',
|
||||||
description => "The tree of the vdevs. Depending on the configuration of the zpool, they can be nested.",
|
description => "The pool configuration information, including the vdevs for each section (e.g. spares, cache), may be nested.",
|
||||||
items => {
|
items => {
|
||||||
type => 'object',
|
type => 'object',
|
||||||
properties => {
|
properties => {
|
||||||
name => {
|
name => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => 'The name of the vdev.',
|
description => 'The name of the vdev or section.',
|
||||||
},
|
},
|
||||||
state => {
|
state => {
|
||||||
|
optional => 1,
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => 'The state of the vdev.',
|
description => 'The state of the vdev.',
|
||||||
},
|
},
|
||||||
read => {
|
read => {
|
||||||
|
optional => 1,
|
||||||
type => 'number',
|
type => 'number',
|
||||||
},
|
},
|
||||||
write => {
|
write => {
|
||||||
|
optional => 1,
|
||||||
type => 'number',
|
type => 'number',
|
||||||
},
|
},
|
||||||
cksum => {
|
cksum => {
|
||||||
|
optional => 1,
|
||||||
type => 'number',
|
type => 'number',
|
||||||
},
|
},
|
||||||
msg => {
|
msg => {
|
||||||
|
|||||||
Reference in New Issue
Block a user