# Enum - VirtualMachineConnectionState(vim.VirtualMachine.ConnectionState)

Property of
  VirtualMachineRuntimeInfo
Since
  2.0

## Enum Description

The connectivity state of a virtual machine. When the API is provided directly by a server product, such as ESX Server, then the disconnected state is not possible. However, when accessed through VirtualCenter, the state of a virtual machine is set to disconnected if the hosts that manage the virtual machine becomes unavailable.

Enum Constants

Name | Description
--- | ---
connected | The server has access to the virtual machine.
disconnected | The server is currently disconnected from the virtual machine, since its host is disconnected. See general comment for this enumerated type for more details.
inaccessible | One or more of the virtual machine configuration files are inaccessible. For example, this can be due to transient disk failures. In this case, no configuration can be returned for a virtual machine.
invalid | The virtual machine configuration format is invalid. Thus, it is accessible on disk, but corrupted in a way that does not allow the server to read the content. In this case, no configuration can be returned for a virtual machine.
orphaned | The virtual machine is no longer registered on the host it is associated with. For example, a virtual machine that is unregistered or deleted directly on a host managed by VirtualCenter shows up in this state.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VirtualMachineConnectionState"> <restriction base="xsd:string"> <enumeration value="connected"/> <enumeration value="disconnected"/> <enumeration value="orphaned"/> <enumeration value="inaccessible"/> <enumeration value="invalid"/> </restriction> </simpleType>