Fault - RuleViolation(vim.fault.RuleViolation)

Extends
VmConfigFault
See also
ClusterRuleInfo, HostSystem

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
ruleClusterRuleInfo

The rule that is violated. It can be an affinity or anti-affinity rule.

Since vSphere API 4.0
Properties inherited from VmConfigFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage
*May not be present
Show WSDL type definition