vSphere Web Services API
| 
 | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods | 
Fault - RuleViolation(vim.fault.RuleViolation)
- Extends
 - VmConfigFault
 - See also
 - ClusterRuleInfo, HostSystem
 - Since
 - 2.0
 
Fault Description
The virtual machine if powered on, would violate an affinity/anti-affinity rule. In this case, the VM can still be powered on manually by a user who knows what they are doing, but VirtualCenter will never automatically move or power on a VM such that it triggers the violation.Properties
| Name | Type | Description | 
|---|---|---|
| host* | ManagedObjectReference
 to a HostSystem  | 
         The host that the virtual machine can not be powered on without
  violate a rule.
      
Since VI API 2.5 | 
| rule | ClusterRuleInfo | 
         The rule that is violated. It can be an affinity or anti-affinity rule.
      
Since vSphere API Release 4.0 | 
| Properties inherited from VmConfigFault | ||
| None | ||
| Properties inherited from VimFault | ||
| None | ||
| Properties inherited from MethodFault | ||
| faultCause, faultMessage | ||
Show WSDL type definition
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |