public ClusterRuleInfo [ ] findRulesForVm ( VirtualMachine vm ) throws RuntimeFault , RemoteException { return getVimService ( ) . findRulesForVm ( getMOR ( ) , vm . getMOR ( ) ) ; }
Finds all enabled and disabled VM - VM Affinity and Anti - Affinity rules involving the given Virtual Machine .