* This class demonstrates how to run tasks.
* Specifically shows how to create / remove snapshots.
*
* Snapshot removal requires ManagedObjectReference to the VirtulaMachineSnapshot
* managed object. The client application needs to store that, if it requires to
* remove a specific snapshot. Since, this is just a sample to demo, the code
* exists to do that, but the user has to choose to remove after the creation.
* The sample removes all the snapshots when the managed object reference to
* the specific snapshot is not available.
*
*
* Usage: RunTask.exe
*
* host - URL of the Virtual Center Server host
* https://
* username - User name
* password - Password
* vmname - Virtual machine name
* snapshotOperation - One of create | removeall
* snapshotName - Requires a name for the snapshot if creating, otherwise the system chooses a name
Comments |
|
There are no comments on this document |