Create Alert Definition Using POST
Once the Alert Definition is created, a unique identifier will be generated by the system for the Alert Definition
The Alert Definition that needs to be created
Show optional properties
{
"adapterKindKey": "string",
"name": "string",
"resourceKindKey": "string",
"states": [
{
"impact": {
"detail": "string",
"impactType": "string"
},
"symptoms": {}
}
]
}
{
"adapterKindKey": "string",
"cancelCycles": 0,
"description": "string",
"id": "string",
"name": "string",
"resourceKindKey": "string",
"states": [
{
"impact": {
"detail": "string",
"impactType": "string"
},
"recommendationPriorityMap": {
"recommendationPriorityMap": 0
},
"severity": "string",
"symptoms": {}
}
],
"subType": 0,
"type": 0,
"waitCycles": 0
}
The adapter kind key of the Adapter Kind that the Alert Definition applies to
The Number of cycles the symptom conditions are false before ending the problem alert
The description of the problem definition
The unique identifier across the system. Must be null during create
The Name of the Problem Definition
The resource kind key for the Resource Kind that the Alert Definition applies to
An Alert Definition state identifies the severity and impact a problem has when the set of Symptom Definition conditions are true. One Alert Definition state per severity.
The sub type of the problem, for the purposes of routing an alert generated by this problem.
The type of the problem, for the purposes of routing an alert generated by this problem.
The Number of cycles the symptom conditions are true before triggering the problem alert
The created Alert Definition
{
"adapterKindKey": "string",
"cancelCycles": 0,
"description": "string",
"id": "string",
"name": "string",
"resourceKindKey": "string",
"states": [
{
"impact": {
"detail": "string",
"impactType": "string"
},
"recommendationPriorityMap": {
"recommendationPriorityMap": 0
},
"severity": "string",
"symptoms": {}
}
],
"subType": 0,
"type": 0,
"waitCycles": 0
}
The adapter kind key of the Adapter Kind that the Alert Definition applies to
The Number of cycles the symptom conditions are false before ending the problem alert
The description of the problem definition
The unique identifier across the system. Must be null during create
The Name of the Problem Definition
The resource kind key for the Resource Kind that the Alert Definition applies to
An Alert Definition state identifies the severity and impact a problem has when the set of Symptom Definition conditions are true. One Alert Definition state per severity.
The sub type of the problem, for the purposes of routing an alert generated by this problem.
The type of the problem, for the purposes of routing an alert generated by this problem.
The Number of cycles the symptom conditions are true before triggering the problem alert