GuestPowerStateTransitionConfig#

class GuestPowerStateTransitionConfig(should_enable_script_exec=None, should_fail_on_script_failure=None, *args, **kwargs)#

Bases: object

Additional configuration for Nutanix Gust Tools power state transition.

Parameters:
property should_enable_script_exec#

Indicates whether to run the set script before the VM shutdowns/restarts.

Type:

bool

property should_fail_on_script_failure#

Indicates whether to abort VM shutdown/restart if the script fails.

Type:

bool

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model