mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 20:13:44 +00:00
api: adapt VM destroy description
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3eecc92525
commit
e00319af4d
@ -1501,7 +1501,8 @@ __PACKAGE__->register_method({
|
|||||||
method => 'DELETE',
|
method => 'DELETE',
|
||||||
protected => 1,
|
protected => 1,
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Destroy the vm (also delete all used/owned volumes).",
|
description => "Destroy the VM and all used/owned volumes. Removes any VM specific permissions"
|
||||||
|
." and firewall rules",
|
||||||
permissions => {
|
permissions => {
|
||||||
check => [ 'perm', '/vms/{vmid}', ['VM.Allocate']],
|
check => [ 'perm', '/vms/{vmid}', ['VM.Allocate']],
|
||||||
},
|
},
|
||||||
@ -1513,7 +1514,7 @@ __PACKAGE__->register_method({
|
|||||||
skiplock => get_standard_option('skiplock'),
|
skiplock => get_standard_option('skiplock'),
|
||||||
purge => {
|
purge => {
|
||||||
type => 'boolean',
|
type => 'boolean',
|
||||||
description => "Remove VM ID from backup jobs, replication jobs and HA resource configuration.",
|
description => "Remove VMID from configurations, like backup & replication jobs and HA.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user