models.health_tile module

class models.health_tile.HealthTile(capacity_bytes=None, cluster_cloud_usage_bytes=None, last_day_alerts=None, last_day_num_criticals=None, last_day_num_warnings=None, num_nodes=None, num_nodes_with_issues=None, percent_full=None, raw_used_bytes=None)[source]

Bases: object

Implementation of the ‘HealthTile’ model.

Health for Dashboard.

capacity_bytes (long|int): Raw Cluster Capacity in Bytes. This is not

usable capacity and does not take replication factor into account.

cluster_cloud_usage_bytes (long|int): Usage in Bytes on the cloud. last_day_alerts (list of Alert): Alerts in last 24 hours. last_day_num_criticals (long|int): Number of Critical Alerts. last_day_num_warnings (long|int): Number of Warning Alerts. num_nodes (int): Number of nodes in the cluster. num_nodes_with_issues (int): Number of nodes in the cluster that are


percent_full (float): Percent the cluster is full. raw_used_bytes (long|int): Raw Bytes used in the cluster.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.