models_v2.archival_result_for_a_target module¶
-
class
models_v2.archival_result_for_a_target.
ArchivalResultForATarget
(target_id=None, archival_task_id=None, target_name=None, target_type=None, snapshot_id=None, start_time_usecs=None, end_time_usecs=None, queued_time_usecs=None, is_incremental=None, status=None, message=None, progress_task_id=None, stats=None, is_manually_deleted=None, expiry_time_usecs=None, data_lock_constraints=None)[source]¶ Bases:
object
Implementation of the ‘Archival result for a target.’ model.
Archival result for an archival target.
- Attributes:
target_id (long|int): Specifies the archival target ID. archival_task_id (string): Specifies the archival task id. This is a
protection group UID which only applies when archival type is ‘Tape’.
target_name (string): Specifies the archival target name. target_type (TargetType1Enum): Specifies the archival target type. snapshot_id (string): Snapshot id for a successful snapshot. This
field will not be set if the archival Run fails to take the snapshot.
- start_time_usecs (long|int): Specifies the start time of replication
run in Unix epoch Timestamp(in microseconds) for an archival target.
- end_time_usecs (long|int): Specifies the end time of replication run
in Unix epoch Timestamp(in microseconds) for an archival target.
- queued_time_usecs (long|int): Specifies the time when the archival is
queued for schedule in Unix epoch Timestamp(in microseconds) for a target.
- is_incremental (bool): Whether this is an incremental archive. If set
to true, this is an incremental archive, otherwise this is a full archive.
- status (Status2Enum): Status of the replication run for an archival
target. ‘Running’ indicates that the run is still running. ‘Canceled’ indicates that the run has been canceled. ‘Canceling’ indicates that the run is in the process of being canceled. ‘Failed’ indicates that the run has failed. ‘Missed’ indicates that the run was unable to take place at the scheduled time because the previous run was still happening. ‘Succeeded’ indicates that the run has finished successfully. ‘SucceededWithWarning’ indicates that the run finished successfully, but there were some warning messages.
message (string): Message about the archival run. progress_task_id (string): Progress monitor task id for archival. stats (ArchivalDataStatistics): Specifies statistics about archival
data.
- is_manually_deleted (bool): Specifies whether the snapshot is deleted
manually.
- expiry_time_usecs (long|int): Specifies the expiry time of attempt in
Unix epoch Timestamp (in microseconds).
- data_lock_constraints (DataLockConstraints): Specifies the dataLock
constraints for local or target snapshot.
-
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.