models.storage_stats module¶
-
class
models.storage_stats.
StorageStats
(data_protection_logical_usage_bytes=None, data_protection_physical_usage_bytes=None, file_services_logical_usage_bytes=None, file_services_physical_usage_bytes=None, local_available_bytes=None, local_usage_bytes=None, total_capacity_bytes=None)[source]¶ Bases:
object
Implementation of the ‘StorageStats’ model.
Specifies the storage statistics of the cluster.
- Attributes:
- data_protection_logical_usage_bytes (long|int): Specifies the logical
size of protected objects in bytes.
- data_protection_physical_usage_bytes (long|int): Specifies the
physical size of protected objects in bytes.
- file_services_logical_usage_bytes (long|int): Specifies the logical
size consumed by file services in bytes.
- file_services_physical_usage_bytes (long|int): Specifies the physical
size consumed by file services in bytes.
- local_available_bytes (long|int): Specifies the local storage
currently available on the cluster in bytes.
- local_usage_bytes (long|int): Specifies the local storage currently in
use on the cluster in bytes.
- total_capacity_bytes (long|int): Specifies the total capacity of the
cluster in bytes.
-
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.