EnterHostMaintenanceSpec#
- class EnterHostMaintenanceSpec(should_rollback_on_failure=True, should_shutdown_non_migratable_uvms=False, vcenter_info=None, timeout_seconds=None, *args, **kwargs)#
Bases:
HostMaintenanceCommonSpecProperty of the host to be put into maintenance mode.
- Parameters:
should_rollback_on_failure – (
should_rollback_on_failure) A boolean value to indicate if the current workflow must initiate rollback workflow in case of failure. (Default True)should_shutdown_non_migratable_uvms – (
should_shutdown_non_migratable_uvms) A boolean value to indicate if all non-migratable uvms must be shutdown. (Default False)
- property should_rollback_on_failure#
A boolean value to indicate if the current workflow must initiate rollback workflow in case of failure.
- Type:
bool
- property should_shutdown_non_migratable_uvms#
A boolean value to indicate if all non-migratable uvms must be shutdown.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model