SuspendPlacementPolicyConfig#
- class SuspendPlacementPolicyConfig(should_cancel_running_tasks=False, *args, **kwargs)#
Bases:
object
Indicates whether the tasks running to enforce policy should be cancelled. These would be tasks to transfer and/or remove images to/from the cluster(s).
- Parameters:
should_cancel_running_tasks – (
should_cancel_running_tasks
) Boolean to indicate whether tasks running to enforce the image placement policy should be suspended. (Default False)
- property should_cancel_running_tasks#
Boolean to indicate whether tasks running to enforce the 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