models.cancel_protection_job_run_param module

class models.cancel_protection_job_run_param.CancelProtectionJobRunParam(copy_task_uid=None, job_run_id=None, task_id_list=None)[source]

Bases: object

Implementation of the ‘CancelProtectionJobRunParam’ model.

TODO: type model description here.

Attributes:
copy_task_uid (UniversalId): Specifies an id for an object that is

unique across Cohesity Clusters. The id is composite of all the ids listed below.

job_run_id (long|int): Run Id of a Protection Job Run that needs to be

cancelled. If this Run id does not match the id of an active Run in the Protection job, the job Run is not cancelled and an error will be returned.

task_id_list (list of long|int): List of entity ids for which we need to

cancel the backup tasks. If this is provided it will not cancel the complete run but will cancel only subset of backup tasks (if backup tasks are cancelled correspoding copy task will also get cancelled). If the backup tasks are completed successfully it will not cancel those backup tasks.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.