models.run_job_snapshot_target module

class models.run_job_snapshot_target.RunJobSnapshotTarget(archival_target=None, cloud_replication_target=None, days_to_keep=None, hold_for_legal_purpose=None, replication_target=None, mtype=None)[source]

Bases: object

Implementation of the ‘RunJobSnapshotTarget’ model.

Specifies settings for a Copy Task when a Protection is run. It gives the target location for the Snapshot and its retention.

archival_target (ArchivalExternalTarget): Specifies settings about the

Archival External Target (such as Tape or AWS).

cloud_replication_target (CloudDeployTargetDetails): Message that

specifies the details about CloudDeploy target where backup snapshots may be converted and stored.

days_to_keep (long|int): Specifies the number of days to retain copied

Snapshots on the target.

hold_for_legal_purpose (bool): Specifies optionally whether to retain

the snapshot for legal purpose. If set to true, the run cannot be deleted until the retention period. Note that using this option may cause the Cluster to run out of space. If set to false explicitly, the hold is removed, and the run will expire as specified in the policy of the Protection Job. If this field is not specified, there is no change to the hold of the run. This field can be set only by a User having Data Security Role.

replication_target (ReplicationTargetSettings): Specifies settings

about the Remote Cohesity Cluster where Snapshots are copied to.

mtype (TypeRunJobSnapshotTargetEnum): Specifies the type of a Snapshot

target such as ‘kLocal’, ‘kRemote’ or ‘kArchival’. ‘kLocal’ means the Snapshot is stored on a local Cohesity Cluster. ‘kRemote’ means the Snapshot is stored on a Remote Cohesity Cluster. (It was copied to the Remote Cohesity Cluster using replication.) ‘kArchival’ means the Snapshot is stored on a Archival External Target (such as Tape or AWS). ‘kCloudDeploy’ means the Snapshot is stored on a Cloud platform.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.