[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Create User Defined Event Deprecated
DescriptionAdd new User-Defined event.
Request
URLURL
https://vrni.example.com/api/ni/settings/events/user-defined-events
Request Body
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"
]
}
string
daily_at_utc
Optional
array of
string
email_ids
Optional
string
event_name
Optional
generate_event_criteria
Optional
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
boolean
is_problem
Optional
array of
NotificationSetting
notification_settings
Optional
Notifications configured for alerts corresponding to this alert configuration.
string
search_criteria
Optional
string
severity
Optional
array of
string
snmp_trap_entity_ids
Optional
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created returns
SubscriptionResponse
of type(s) application/json
{
"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"
]
}
boolean
active
Optional
string
daily_at_utc
Optional
array of
string
email_ids
Optional
string
entity_id
Optional
string
event_name
Optional
generate_event_criteria
Optional
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
boolean
is_problem
Optional
array of
NotificationSetting
notification_settings
Optional
Notifications configured for alerts corresponding to this alert configuration.
string
search_criteria
Optional
array of
string
snmp_trap_entity_ids
Optional
Errors
Code Samples
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"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"]}' https://vrni.example.com/api/ni/settings/events/user-defined-events
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put