com.vmware.vim25.mo.samples.vm
Class GetUpdates
java.lang.Object
com.vmware.vim25.mo.samples.vm.GetUpdates
public class GetUpdates
- extends Object
This sample demonstrates how to use the PropertyCollector to monitor
one or more properties of one or more managed objects. In particular
this sample monitors all or one Virtual Machine and all or one Host
for changes to some basic properties.
To run this samples following parameters are used :
vmname [required] : name of the virtual machine
Command : /
run.bat com.vmware.samples.general.GetUpdates --url [webserviceurl]
--username [username] --password [password] --vmname [vmName]
- Author:
- Steve Jin
This is a sample converted from a similar sample from VMware web site.
It definitely needs clean-up ...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetUpdates
public GetUpdates()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011-2012. All Rights Reserved.