GuestPowerStateTransitionConfig#
- class GuestPowerStateTransitionConfig(should_enable_script_exec=None, should_fail_on_script_failure=None, *args, **kwargs)[source]#
Bases:
object
Additional configuration for Nutanix Gust Tools power state transition.
- Parameters:
should_enable_script_exec – (
should_enable_script_exec
) Indicates whether to run the set script before the VM shutdowns/restarts.should_fail_on_script_failure – (
should_fail_on_script_failure
) Indicates whether to abort VM shutdown/restart if the script fails.
- 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