com.vmware.vim25.mo.samples.cluster
Class DrsAffRule
java.lang.Object
com.vmware.vim25.mo.samples.cluster.DrsAffRule
public class DrsAffRule
- extends Object
- Author:
- Steve Jin
http://vijava.sf.net
This sample code illustrates how to set up an affinity rule for the DRS cluster.
Please note that this sample is not intended to be complete or for production use.
Some of the information are hardcoded to simplify the code.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrsAffRule
public DrsAffRule()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
createMOR
public static ManagedObjectReference createMOR(String type,
String id)
Copyright © 2011-2012. All Rights Reserved.