thousandeyes-sdk-python/thousandeyes-sdk-alerts/docs/AlertDetail.md
Shahid Hussain Khan 745e74afc4
CP-2189 Update SDK names for admin and monitors modules (#9)
* CP-2189 Update SDK names for admin and monitors modules

* CP-2189 Move client to core

* CP-2189 Change client to core
2024-06-04 16:09:40 +01:00

1.8 KiB

AlertDetail

Properties

Name Type Description Notes
id str A unique ID for each individual alert occurrence. [optional] [readonly]
alert_type AlertType [optional]
start_date datetime The start date and time (in UTC, ISO 8601 format) for querying alerts. [optional] [readonly]
end_date datetime The end date and time (in UTC, ISO 8601 format) for querying alerts. [optional] [readonly]
violation_count int Number of sources that meet the alert criteria. [optional]
duration int Duration in seconds the alert was active [optional]
suppressed bool Indicates whether the alert is currently suppressed by a real-time ASW. [optional]
meta AlertMeta [optional]
links AlertLinks [optional]
state State [optional]
severity Severity [optional]
details **List[AlertMetricDetail]** [optional]

Example

from thousandeyes_sdk.alerts.models.alert_detail import AlertDetail

# TODO update the JSON string below
json = "{}"
# create an instance of AlertDetail from a JSON string
alert_detail_instance = AlertDetail.from_json(json)
# print the JSON string representation of the object
print(AlertDetail.to_json())

# convert the object into a dict
alert_detail_dict = alert_detail_instance.to_dict()
# create an instance of AlertDetail from a dict
alert_detail_from_dict = AlertDetail.from_dict(alert_detail_dict)

[Back to Model list] [Back to API list] [Back to README]