models.view_box_stats module

class models.view_box_stats.ViewBoxStats(cloud_usage_perf_stats=None, data_usage_stats=None, id=None, local_usage_perf_stats=None, logical_stats=None, usage_perf_stats=None)[source]

Bases: object

Implementation of the ‘ViewBoxStats’ model.

Provides statistics about the Storage Domain (View Box).

Attributes:
cloud_usage_perf_stats (UsageAndPerformanceStats): Provides usage and

performance statistics for entities such as a disks, Nodes or Clusters.

data_usage_stats (DataUsageStats): Specifies the data usage metric of

the data stored on the Storage Domain (View Box).

id (long|int): Specifies the id of the Storage Domain (View Box). local_usage_perf_stats (UsageAndPerformanceStats): Provides usage

statistics for the locally stored data on the Storage Domain (View Box). Performance statistics are not populated.

logical_stats (LogicalStats): Provides the logical usage statistics

for the Storage Domain (View Box).

usage_perf_stats (UsageAndPerformanceStats): Provides usage and

performance statistics for the Storage Domain (View Box) (includes both local and cloud data).

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.