mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-06 17:47:31 +00:00
api: move disk: schema indentation and style-nit fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c41439ac5b
commit
f519ab0b76
@ -3329,15 +3329,15 @@ __PACKAGE__->register_method({
|
|||||||
},
|
},
|
||||||
delete => {
|
delete => {
|
||||||
type => 'boolean',
|
type => 'boolean',
|
||||||
description => "Delete the original disk after successful copy. By default the " .
|
description => "Delete the original disk after successful copy. By default the"
|
||||||
"original disk is kept as unused disk.",
|
." original disk is kept as unused disk.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
default => 0,
|
default => 0,
|
||||||
},
|
},
|
||||||
digest => {
|
digest => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => 'Prevent changes if current configuration file has different SHA1 " .
|
description => 'Prevent changes if current configuration file has different SHA1"
|
||||||
"digest. This can be used to prevent concurrent modifications.',
|
." digest. This can be used to prevent concurrent modifications.',
|
||||||
maxLength => 40,
|
maxLength => 40,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
@ -3350,15 +3350,15 @@ __PACKAGE__->register_method({
|
|||||||
},
|
},
|
||||||
'target-disk' => {
|
'target-disk' => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => "The config key the disk will be moved to on the target VM " .
|
description => "The config key the disk will be moved to on the target VM"
|
||||||
"(for example, ide0 or scsi1). Default is the source disk key.",
|
." (for example, ide0 or scsi1). Default is the source disk key.",
|
||||||
enum => [PVE::QemuServer::Drive::valid_drive_names_with_unused()],
|
enum => [PVE::QemuServer::Drive::valid_drive_names_with_unused()],
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
'target-digest' => {
|
'target-digest' => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => 'Prevent changes if current configuration file of the target VM has " .
|
description => 'Prevent changes if the current config file of the target VM has a"
|
||||||
"a different SHA1 digest. This can be used to prevent concurrent modifications.',
|
." different SHA1 digest. This can be used to detect concurrent modifications.',
|
||||||
maxLength => 40,
|
maxLength => 40,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user