You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom payload fields to send additional information in the alert notifications. Can be left empty.
description
str
Description of the synthetic alert configuration. Used as a template for the description of alert/event notifications triggered by this Smart Alert configuration.
enabled
bool
Flag to indicate whether or not the configuration is enabled.
[optional]
grace_period
int
The duration for which an alert remains open after conditions are no longer violated, with the alert auto-closing once the grace period expires.
[optional]
id
str
ID of this Synthetic Alert Config.
initial_created
int
Unix timestamp representing the time of the initial revision.
[optional]
name
str
Name of the synthetic alert configuration. Used as a template for the title of alert/event notifications triggered by this Smart Alert configuration.
read_only
bool
Flag to indicate whether or not the configuration is read-only. Read-only access restricts modification of the config.
frominstana_client.models.synthetic_alert_config_with_metadataimportSyntheticAlertConfigWithMetadata# TODO update the JSON string belowjson="{}"# create an instance of SyntheticAlertConfigWithMetadata from a JSON stringsynthetic_alert_config_with_metadata_instance=SyntheticAlertConfigWithMetadata.from_json(json)
# print the JSON string representation of the objectprint(SyntheticAlertConfigWithMetadata.to_json())
# convert the object into a dictsynthetic_alert_config_with_metadata_dict=synthetic_alert_config_with_metadata_instance.to_dict()
# create an instance of SyntheticAlertConfigWithMetadata from a dictsynthetic_alert_config_with_metadata_from_dict=SyntheticAlertConfigWithMetadata.from_dict(synthetic_alert_config_with_metadata_dict)