models.protected_source_summary module

class models.protected_source_summary.ProtectedSourceSummary(backup_run=None, copy_runs=None, is_paused=None, next_protection_run_time_usecs=None, protected_source_uid=None, protection_source=None, source_parameters=None)[source]

Bases: object

Implementation of the ‘ProtectedSourceSummary’ model.

ProtectedSourceSummary is the summary of all the Protection Runs for the Protection Jobs using the Specified Protection Policy. This is only populated for a policy of type kRPO.

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_runs (list of CopyRun): Specifies details about the Copy tasks of

the Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster.

is_paused (bool): Specifies the status of the backup job. next_protection_run_time_usecs (long|int): Specifies the time at which

the next Protection Run is scheduled for the given Protection Source in Unix epoch Time (microseconds).

protected_source_uid (UniversalId): Specifies an id for an object that

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

protection_source (ProtectionSource): Specifies a generic structure

that represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

source_parameters (list of SourceSpecialParameter): Specifies

additional special settings for a single Protected Source.

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.