cleanup return property descriptions
This commit is contained in:
@ -72,7 +72,10 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
pool => { type => 'string'},
|
pool => {
|
||||||
|
description => "ZFS pool name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -104,8 +107,14 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
path => { type => 'string'},
|
path => {
|
||||||
options => { type => 'string'},
|
description => "The exported path.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
|
options => {
|
||||||
|
description => "NFS export options.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -147,8 +156,14 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
share => { type => 'string'},
|
share => {
|
||||||
description => { type => 'string'},
|
description => "The cifs share name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
|
description => {
|
||||||
|
description => "Descriptive text from server.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -198,7 +213,10 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
volname => { type => 'string'},
|
volname => {
|
||||||
|
description => "The volume name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -239,8 +257,14 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
target => { type => 'string'},
|
target => {
|
||||||
portal => { type => 'string'},
|
description => "The iSCSI target name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
|
portal => {
|
||||||
|
description => "The iSCSI portal name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -277,8 +301,11 @@ __PACKAGE__->register_method ({
|
|||||||
type => 'array',
|
type => 'array',
|
||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
vg => { type => 'string'},
|
vg => {
|
||||||
|
description => "The LVM logical volume group name.",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -315,7 +342,10 @@ __PACKAGE__->register_method ({
|
|||||||
items => {
|
items => {
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => {
|
properties => {
|
||||||
lv => { type => 'string'},
|
lv => {
|
||||||
|
description => "The LVM Thin Pool name (LVM logical volume).",
|
||||||
|
type => 'string',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user