models.protection_job_summary_stats module¶
-
class
models.protection_job_summary_stats.
ProtectionJobSummaryStats
(average_run_time_usecs=None, fastest_run_time_usecs=None, num_canceled_runs=None, num_failed_runs=None, num_sla_violations=None, num_successful_runs=None, slowest_run_time_usecs=None, total_bytes_read_from_source=None, total_logical_backup_size_bytes=None, total_physical_backup_size_bytes=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionJobSummaryStats’ model.
Specifies statistics about a Protection Job.
- Attributes:
- average_run_time_usecs (long|int): Specifies the average run time of
all successful Protection Runs. It is specified as a Unix epoch Timestamp (in microseconds).
- fastest_run_time_usecs (long|int): Specifies the time taken for a
fastest successful Protection Run so far. It is specified as a Unix epoch Timestamp (in microseconds).
- num_canceled_runs (long|int): Specifies the number of runs that were
cancelled.
- num_failed_runs (long|int): Specifies the number of runs that failed
to finish.
- num_sla_violations (long|int): Specifies the number of runs having SLA
violations.
- num_successful_runs (long|int): Specifies the number of runs that
finished successfully.
- slowest_run_time_usecs (long|int): Specifies the time taken for a
slowest successful Protection Run so far. It is specified as a Unix epoch Timestamp (in microseconds).
- total_bytes_read_from_source (long|int): Specifies the total amount of
data read from the source (so far).
- total_logical_backup_size_bytes (long|int): Specifies the size of the
source object (such as a VM) protected by this task on the primary storage after the snapshot is taken. The logical size of the data on the source if the data is fully hydrated or expanded and not reduced by change-block tracking, compression and deduplication.
- total_physical_backup_size_bytes (long|int): Specifies the total
amount of physical space used on the Cohesity Cluster to store the protected object after being reduced by change-block tracking, compression and deduplication. For example, if the logical backup size is 1GB, but only 1MB was used on the Cohesity Cluster to store it, this field be equal to 1MB.
-
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.