com.vmware.vim25.mo.samples.cluster
Class DrsAffRule

java.lang.Object
  extended by 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.

Constructor Summary
DrsAffRule()
           
 
Method Summary
static ManagedObjectReference createMOR(String type, String id)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrsAffRule

public DrsAffRule()
Method Detail

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.