add missing parameter descriptions

This commit is contained in:
Dietmar Maurer
2018-08-09 09:52:44 +02:00
parent 48dccd2fbe
commit 1e17594e74

View File

@ -99,7 +99,10 @@ __PACKAGE__->register_method ({
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
node => get_standard_option('pve-node'), node => get_standard_option('pve-node'),
server => { type => 'string', format => 'pve-storage-server' }, server => {
description => "The server address (name or IP).",
type => 'string', format => 'pve-storage-server',
},
}, },
}, },
returns => { returns => {
@ -145,10 +148,25 @@ __PACKAGE__->register_method ({
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
node => get_standard_option('pve-node'), node => get_standard_option('pve-node'),
server => { type => 'string', format => 'pve-storage-server' }, server => {
username => { type => 'string', optional => 1 }, description => "The server address (name or IP).",
password => { type => 'string', optional => 1 }, type => 'string', format => 'pve-storage-server',
domain => { type => 'string', optional => 1 }, },
username => {
description => "User name.",
type => 'string',
optional => 1,
},
password => {
description => "User password.",
type => 'string',
optional => 1,
},
domain => {
description => "SMB domain (Workgroup).",
type => 'string',
optional => 1,
},
}, },
}, },
returns => { returns => {
@ -205,7 +223,10 @@ __PACKAGE__->register_method ({
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
node => get_standard_option('pve-node'), node => get_standard_option('pve-node'),
server => { type => 'string', format => 'pve-storage-server' }, server => {
description => "The server address (name or IP).",
type => 'string', format => 'pve-storage-server',
},
}, },
}, },
returns => { returns => {
@ -249,7 +270,10 @@ __PACKAGE__->register_method ({
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
node => get_standard_option('pve-node'), node => get_standard_option('pve-node'),
portal => { type => 'string', format => 'pve-storage-portal-dns' }, portal => {
description => "The iSCSI portal (IP or DNS name with optional port).",
type => 'string', format => 'pve-storage-portal-dns',
},
}, },
}, },
returns => { returns => {