SuspendPlacementPolicyConfig#
- class SuspendPlacementPolicyConfig(should_cancel_running_tasks=False, *args, **kwargs)#
Bases:
object
Indicates whether the tasks running to enforce policy should be canceled. These would be checkout and uncheckout tasks to placement remove images from the cluster(s).
- Parameters:
should_cancel_running_tasks – (
should_cancel_running_tasks
) Boolean to indicate if tasks running to enforce image placement policy should be suspended. (Default False)
- property should_cancel_running_tasks#
Boolean to indicate if tasks running to enforce image placement policy should be suspended.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model