models.backup_source_stats module¶
- 
class 
models.backup_source_stats.BackupSourceStats(admitted_time_usecs=None, end_time_usecs=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:
objectImplementation of the ‘BackupSourceStats’ model.
Specifies statistics about a Backup task in a Protection Job Run. Specifies statistics for one backup task. One backup task is used to backup on Protection Source. This structure is also used to aggregate stats of a Backup tasks in a Protection Job Run.
- 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).
- 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.