|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vmware.vm.VMSnapshot
public class VMSnapshot
VMSnapshot This sample demonstrates VM snapshot operations Parameters: url [required] : url of the web service. username [required] : username for the authentication password [required] : password for the authentication vmname [required] : Name of the virtual machine operation [required] : operation type - [list|create|remove|revert] snapshotname [optional] : Name of the snapshot description [optional] : description of the sanpshot removechild [optional] : remove snapshot children - [1 | 0] Command Line: List VM snapshot names run.bat com.vmware.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation list Create VM snapshot run.bat com.vmware.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation create --description [Description of the snapshot] Revert VM snapshot run.bat com.vmware.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation revert --description [Snapshot Description] Remove VM snapshot run.bat com.vmware.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation remove --removechild 0
Constructor Summary | |
---|---|
VMSnapshot()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VMSnapshot()
Method Detail |
---|
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |