models_v2.protection_run_summary module¶
-
class
models_v2.protection_run_summary.
ProtectionRunSummary
(id=None, protection_group_id=None, protection_group_name=None, environment=None, is_sla_violated=None, start_time_usecs=None, end_time_usecs=None, status=None, is_full_run=None, total_objects_count=None, success_objects_count=None, logical_size_bytes=None, bytes_written=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionRunSummary’ model.
Specifies the summary of a protection run.
- Attributes:
id (string): Specifies the ID of the Protection Group run. protection_group_id (string): ProtectionGroupId to which this run
belongs.
- protection_group_name (string): Name of the Protection Group to which
this run belongs.
- environment (Environment6Enum): Specifies the environment type of the
Protection Group.
- is_sla_violated (bool): Indicated if SLA has been violated for this
run.
- start_time_usecs (long|int): Specifies the start time of backup run in
Unix epoch Timestamp(in microseconds).
- end_time_usecs (long|int): Specifies the end time of backup run in
Unix epoch Timestamp(in microseconds).
- status (Status5Enum): Status of the backup run. ‘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.
is_full_run (bool): Specifies if the protection run is a full run. total_objects_count (long|int): Specifies the total number of objects
protected in this run.
- success_objects_count (long|int): Specifies the number of objects
which are successfully protected in this run.
- logical_size_bytes (long|int): Specifies total logical size of
object(s) in bytes.
- bytes_written (long|int): Specifies total size of data in bytes
written after taking backup.
-
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.