VmPowerInfo

The Power.Info structure contains information about the power state of a virtual machine.


Properties

state Required

Power state of the virtual machine.

Possible values are: POWERED_OFFPOWERED_ONSUSPENDED


boolean
clean_power_off Optional

Flag indicating whether the virtual machine was powered off cleanly. This field may be used to detect that the virtual machine crashed unexpectedly and should be restarted. This field is optional and it is only relevant when the value of Power.Info.state is POWERED_OFF.

JSON Example

{
    "state": "enum"
}
Returned By

Get Power
Feedback

Was this page helpful?