CancelPlacementTasks#

class CancelPlacementTasks(cancel_running_tasks=False, *args, **kwargs)[source]#

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:

cancel_running_tasks – (cancel_running_tasks) Boolean to indicate if tasks running to enforce image placement policy should be suspended. (Default False)

property cancel_running_tasks#

Boolean to indicate if tasks running to enforce image placement policy should be suspended.

Type:

bool

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model