Create User Defined Event Deprecated
DescriptionAdd new User-Defined event.
Request
URLURL
Request Body
{
"daily_at_utc": "string",
"email_frequency": "IMMEDIATELY",
"email_ids": [
"string"
],
"event_name": "string",
"generate_event_criteria": "SEARCH_RESULT_CHANGE",
"is_problem": false,
"notification_settings": [
{
"frequency": "IMMEDIATE",
"notification_time": "string",
"receivers": [
"string"
],
"type": "EMAIL"
}
],
"search_criteria": "string",
"severity": "string",
"snmp_trap_entity_ids": [
"string"
]
}
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
Possible values are: SEARCH_RESULT_CHANGE , ZERO_SEARCH_RESULTS
Notifications configured for alerts corresponding to this alert configuration.
Authentication
Response
Response BodyResponse Body
201 Created
{
"active": false,
"daily_at_utc": "string",
"email_frequency": "IMMEDIATELY",
"email_ids": [
"string"
],
"entity_id": "string",
"event_name": "string",
"generate_event_criteria": "SEARCH_RESULT_CHANGE",
"is_problem": false,
"notification_settings": [
{
"frequency": "IMMEDIATE",
"notification_time": "string",
"receivers": [
"string"
],
"type": "EMAIL"
}
],
"search_criteria": "string",
"severity": "Critical",
"snmp_trap_entity_ids": [
"string"
]
}
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
Possible values are: SEARCH_RESULT_CHANGE , ZERO_SEARCH_RESULTS
Notifications configured for alerts corresponding to this alert configuration.
Errors
Bad Request
Unauthorized
Forbidden
Internal Error