models.active_alerts_stats module¶
-
class
models.active_alerts_stats.
ActiveAlertsStats
(num_data_service_alerts=None, num_data_service_critical_alerts=None, num_data_service_info_alerts=None, num_data_service_warning_alerts=None, num_maintenance_alerts=None, num_maintenance_critical_alerts=None, num_maintenance_info_alerts=None, num_maintenance_warning_alerts=None, num_critical_alerts=None, num_critical_alerts_categories=None, num_hardware_alerts=None, num_hardware_critical_alerts=None, num_hardware_info_alerts=None, num_hardware_warning_alerts=None, num_info_alerts=None, num_info_alerts_categories=None, num_software_alerts=None, num_software_critical_alerts=None, num_software_info_alerts=None, num_software_warning_alerts=None, num_warning_alerts=None, num_warning_alerts_categories=None)[source]¶ Bases:
object
Implementation of the ‘ActiveAlertsStats’ model.
Specifies the active alert statistics details.
- Attributes:
- num_data_service_alerts (int|long): Specifies the count of active
service Alerts.
- num_data_service_critical_alerts (long|int): Specifies the count of
active service critical Alerts.
- num_data_service_info_alerts (long|int): Specifies the count of active
service info Alerts.
- num_data_service_warning_alerts (long|int): Specifies the count of
active service warning Alerts.
- num_maintenance_alerts (long|int): Specifies the count of active
Alerts of maintenance bucket
- num_maintenance_critical_alerts (long|int): Specifies the count of
active other critical Alerts.
- num_maintenance_info_alerts (long|int): Specifies the count of active
other info Alerts.
- num_maintenance_warning_alerts (long|int): Specifies the count of
active other warning Alerts.
- num_critical_alerts (long|int): Specifies the count of active critical
Alerts excluding alerts that belong to other bucket.
- num_critical_alerts_categories (long|int): Specifies the count of
active critical alerts categories.
- num_hardware_alerts (long|int): Specifies the count of active hardware
Alerts.
- num_hardware_critical_alerts (long|int): Specifies the count of active
hardware critical Alerts.
- num_hardware_info_alerts (long|int): Specifies the count of active
hardware info Alerts.
- num_hardware_warning_alerts (long|int): Specifies the count of active
hardware warning Alerts.
- num_info_alerts (long|int): Specifies the count of active info
Alerts excluding alerts that belong to other bucket.
- num_info_alerts_categories (long|int): Specifies the count of active
info alerts categories.
- num_software_alerts (long|int): Specifies the count of active software
Alerts.
- num_software_critical_alerts (long|int): Specifies the count of active
software critical Alerts.
- num_software_info_alerts (long|int): Specifies the count of active
software info Alerts.
- num_software_warning_alerts (long|int): Specifies the count of active
software warning Alerts.
- num_warning_alerts (long|int): Specifies the count of active warning
Alerts excluding alerts that belong to other bucket.
- num_warning_alerts_categories (long|int): Specifies the count of
active warning alerts categories.
-
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.