Is that function may be not described at the current api doc ?
I would expect at least three parameter
node,vmid,snapshotname,description,savevmstate{Boolean}
cos qm snapshot allow such parameter
root@prox01:~# qm help snapshot
USAGE: qm snapshot <vmid> <snapname> [OPTIONS]
Snapshot a VM.
<vmid> integer (1 - N)
The (unique) ID of the VM.
<snapname> string
The name of the snapshot.
-description string
A textual description or comment.
-vmstate boolean
Save the vmstate
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user