# Fault - CannotPowerOffVmInCluster(vim.fault.CannotPowerOffVmInCluster)

Extends
  InvalidState
See also
  VirtualMachine
Since
  vSphere API 5.0

## Fault Description

This fault is reported when a user attempts to power off or suspend a VM when the HA master agent to which vCenter Server is connected does not manage the VM.

Properties

Name | Type | Description
--- | --- | ---
operation | xsd:string | The operation being performed. Values come from Operation.
vm | ManagedObjectReference to a VirtualMachine | The Virtual Machine
vmName | xsd:string | Name of the Virtual Machine
Properties inherited from InvalidState
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="CannotPowerOffVmInCluster"> <complexContent> <extension base="pbm:InvalidState"> <sequence> <element name="operation" type="xsd:string"/> <element name="vm" type="pbm:ManagedObjectReference"/> <element name="vmName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>