models.protection_run_instance module

class models.protection_run_instance.ProtectionRunInstance(backup_run=None, copy_run=None, job_id=None, job_name=None, job_uid=None, view_box_id=None)[source]

Bases: object

Implementation of the ‘ProtectionRunInstance’ model.

Specifies the status of one Job Run. A Job Run can have one Backup Run and zero or more Copy Runs.

Attributes:
backup_run (BackupRun): Specifies details about the Backup task for a

Job Run. A Backup task captures the original backup snapshots for each Protection Source in the Job.

copy_run (list of CopyRun): Array of Copy Run Tasks. Specifies

details about the Copy tasks of this Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster.

job_id (long|int): Specifies the id of the Protection Job that was

run.

job_name (string): Specifies the name of the Protection Job name that

was run.

job_uid (UniversalId): Specifies the globally unique id of the

Protection Job that was run.

protection_shell_info (ProtectionShellInfo): Specifies the shell

information about the protection run. This will only be populated if OnlyReturnShellInfo is sent as true.

view_box_id (long|int): Specifies the Storage Domain (View Box) to

store the backed up data. Specify the id of the Storage Domain (View Box).

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.