thousandeyes-sdk-python/agents_api/docs/NotificationRule.md
2023-12-11 09:29:15 +00:00

1.3 KiB

NotificationRule

Properties

Name Type Description Notes
rule_id str Agent notification rule ID [optional] [readonly]
rule_name str Name of the agent notification rule [optional]
expression str Expression of agent notification rule [optional]
notify_on_clear bool Send notification when notification clears [optional]
is_default bool Agent notification rule will be automatically included on all new Enterprise Agents. [optional]

Example

from agents_api.models.notification_rule import NotificationRule

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

# convert the object into a dict
notification_rule_dict = notification_rule_instance.to_dict()
# create an instance of NotificationRule from a dict
notification_rule_form_dict = notification_rule.from_dict(notification_rule_dict)

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