Update Alert Definition
Request
URI
PUT
https://{api_host}/api/alert-definitions/{alert_def_id}
COPY
Request Body
alertsUpdateAlertDefinitionRequest
of type(s)
application/json
Required
"alertsUpdateAlertDefinitionRequest Object"
integer As int32
As int32
cancelCount
Optional
cancelCount
array of
string
properties
Optional
properties
array of
string
deviceTemplateIds
Optional
deviceTemplateIds
string
name
Optional
name
string
lambda
Optional
lambda
integer As int32
As int32
triggerCount
Optional
triggerCount
string
alertSeverity
Optional
Constraints:
default: UNKNOWN_SEVERITY
alertSeverity
Possible values are :
UNKNOWN_SEVERITY,
CRITICAL,
WARNING,
INFO,
boolean As boolean
As boolean
isRealTime
Optional
isRealTime
array of
string
metrics
Optional
metrics
string
notificationId
Optional
notificationId
string
deviceId
Optional
deviceId
string
recommendation
Optional
recommendation
integer As int32
As int32
duration
Optional
duration
string
alertTemplate
Optional
Constraints:
default: UNKNOWN_TEMPLATE
alertTemplate
Possible values are :
UNKNOWN_TEMPLATE,
THRESHOLD,
OFFLINE,
RELATIVE,
string
alertDefId
Optional
alertDefId
string
deviceTemplateId
Optional
deviceTemplateId
string
notificationDefinitionId
Optional
notificationDefinitionId
string
description
Optional
description
Responses
200
Returns
alertsAlertDefinitionId
of type(s)
*/*
{
"alertDefId": "string"
}
string
alertDefId
Optional
alertDefId
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/alert-definitions/{alert_def_id}
Alert Definition Service Operations
PUT
Update Alert Definition
DELETE
Delete Alert Definition
GET
Get Alert Definition
POST
Create Alert Definition
GET
List Alert Definitions