PowerState#

class PowerState(*args, **kwargs)[source]#

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.

  • PAUSED: The VM is paused.

  • UNDETERMINED: The current power state of the VM is unknown.

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model