models.update_protection_job_run module¶
-
class
models.update_protection_job_run.
UpdateProtectionJobRun
(copy_run_targets=None, job_uid=None, run_start_time_usecs=None, source_ids=None)[source]¶ Bases:
object
Implementation of the ‘UpdateProtectionJobRun’ model.
Specifies a Job Run and the expiration time to update. The expiration time defines the retention period for the Job Run and its snapshots.
- Attributes:
- copy_run_targets (list of RunJobSnapshotTarget): Specifies the
retention for archival, replication or extended local retention.
job_uid (UniversalId): Specifies a unique universal id for the Job. run_start_time_usecs (long|int): Specifies the start time of the Job
Run to update. The start time is specified as a Unix epoch Timestamp (in microseconds). This uniquely identifies a snapshot. This parameter is required.
- source_ids (list of long|int): Ids of the Protection Sources. If this
is specified, retention time will only be updated for the sources specified.
-
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.