mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 21:14:21 +00:00
Fix description for vm_config and change description for vm_pending
The description for vm_config was out of date and from the description for vm_pending it was hard to tell what the difference to vm_config was. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
e099bad488
commit
86ea0ed0e0
@ -823,7 +823,8 @@ __PACKAGE__->register_method({
|
|||||||
path => '{vmid}/config',
|
path => '{vmid}/config',
|
||||||
method => 'GET',
|
method => 'GET',
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Get current virtual machine configuration. This does not include pending configuration changes (see 'pending' API).",
|
description => "Get the virtual machine configuration with pending configuration " .
|
||||||
|
"changes applied. Set the 'current' parameter to get the current configuration instead.",
|
||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/vms/{vmid}', [ 'VM.Audit' ]],
|
check => ['perm', '/vms/{vmid}', [ 'VM.Audit' ]],
|
||||||
},
|
},
|
||||||
@ -849,7 +850,7 @@ __PACKAGE__->register_method({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
returns => {
|
returns => {
|
||||||
description => "The current VM configuration.",
|
description => "The VM configuration.",
|
||||||
type => "object",
|
type => "object",
|
||||||
properties => PVE::QemuServer::json_config_properties({
|
properties => PVE::QemuServer::json_config_properties({
|
||||||
digest => {
|
digest => {
|
||||||
@ -881,7 +882,7 @@ __PACKAGE__->register_method({
|
|||||||
path => '{vmid}/pending',
|
path => '{vmid}/pending',
|
||||||
method => 'GET',
|
method => 'GET',
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Get virtual machine configuration, including pending changes.",
|
description => "Get the virtual machine configuration with both current and pending values.",
|
||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/vms/{vmid}', [ 'VM.Audit' ]],
|
check => ['perm', '/vms/{vmid}', [ 'VM.Audit' ]],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user