PowerState#

class PowerState(*args, **kwargs)#

Bases: object

The current power state of the VM.

Allowed enum values:

  • _UNKNOWN

  • _REDACTED

  • ON: The VM is powered-on.

  • OFF: The VM is powered-off.

  • SUSPENDED: The VM power state is currently suspended.

  • UNDETERMINED: The VM power state is currently unknown.

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model