models.latest_protection_run module¶
-
class
models.latest_protection_run.
LatestProtectionRun
(backup_run=None, change_event_id=None, copy_run=None, job_run_id=None, protection_job_run_uid=None, snapshot_target=None, snapshot_target_type=None, task_status=None, uuid=None)[source]¶ Bases:
object
Implementation of the ‘LatestProtectionRun’ model.
Specifies the information about the latest Protection Run.
- Attributes:
- backup_run (SourceBackupStatus): Specifies the source object to
protect and the current backup status.
- change_event_id (long|int): Specifies the event id which caused last
update on this object.
- copy_run (CopyRun): Specifies details about the Copy Run for a backup
run of a Job Run. A Copy task copies snapshots resulted from a backup run to a snapshot target which could be ‘kLocal’, ‘kArchival’, or ‘kRemote’.
- job_run_id (long|int): Specifies job run id of the latest successful
Protection Job Run.
- protection_job_run_uid (RunUid): Specifies the universal id of the
latest successful Protection Job Run.
- snapshot_target (string): Specifies the cluster id in case of local or
replication snapshots and name of location in case of archival snapshots.
- snapshot_target_type (int): Specifies the snapshot target type of the
latest snapshot.
- task_status (int): Specifies the task status of the Protection Job Run
in the final attempt.
- uuid (string): Specifies the unique id of the Protection Source for
which a snapshot is taken.
-
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.