models.protection_job_run_stats module¶
-
class
models.protection_job_run_stats.
ProtectionJobRunStats
(admitted_time_usecs=None, end_time_usecs=None, num_app_instances=None, num_canceled_tasks=None, num_cancelled_app_objects=None, num_failed_app_objects=None, num_failed_tasks=None, num_successful_app_objects=None, num_successful_tasks=None, start_time_usecs=None, time_taken_usecs=None, total_bytes_read_from_source=None, total_bytes_to_read_from_source=None, total_logical_backup_size_bytes=None, total_physical_backup_size_bytes=None, total_source_size_bytes=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionJobRunStats’ model.
Specifies statistics about a Protection Job Run. This contains the Job Run level statistics.
- Attributes:
- admitted_time_usecs (long|int): Specifies the time the task was
unqueued from the queue to start running. This field can be used to determine the following times: initial-wait-time = admittedTimeUsecs - startTimeUsecs run-time = endTimeUsecs - admittedTimeUsecs If the task ends up waiting in other queues, then actual run-time will be smaller than the run-time computed this way. This field is only populated for Backup tasks currently.
- end_time_usecs (long|int): Specifies the end time of the Protection
Run. The end time is specified as a Unix epoch Timestamp (in microseconds).
- num_app_instances (int): Specifies the number of application instances
backed up by this Run. For example if the environment type is kSQL, this field contains the number of SQL Server instances.
- num_canceled_tasks (long|int): Specifies the number of backup tasks
that were canceled.
- num_cancelled_app_objects (int): Specifies the number of application
objects that were cancelled in this Run.
- num_failed_app_objects (int): Specifies the number of application
objects that failed in this Run.
- num_failed_tasks (long|int): Specifies the number of backup tasks that
failed.
- num_successful_app_objects (int): Specifies the number of application
objects successfully backed up by this Run. For example, if the environment type is kSQL, this number is for all of the SQL server databases.
- num_successful_tasks (long|int): Specifies the number of backup tasks
that completed successfully.
- start_time_usecs (long|int): Specifies the start time of the
Protection Run. The start time is specified as a Unix epoch Timestamp (in microseconds). This time is when the task is queued to an internal queue where tasks are waiting to run.
- time_taken_usecs (long|int): Specifies the actual execution time for
the protection run to complete the backup task and the copy tasks. This time will not include the time waited in various internal queues. This field is only populated for Backup tasks currently.
- total_bytes_read_from_source (long|int): Specifies the total amount of
data read from the source (so far).
- total_bytes_to_read_from_source (long|int): Specifies the total amount
of data expected to be read from the source.
- 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.
- total_source_size_bytes (long|int): Specifies the size of the source
object (such as a VM) protected by this task on the primary storage before 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.
-
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.