Create Symptom Definition
The symptom definition identifier must be null and will be generated by the system.
A symptom definition contains a symptom state, there may only be one symptom state per symptom definition.
The Symptom Definition to create
Show optional properties
{
"name": "string",
"adapterKindKey": "string",
"resourceKindKey": "string",
"state": {
"severity": "string",
"condition": {}
}
}
{
"id": "string",
"name": "string",
"adapterKindKey": "string",
"resourceKindKey": "string",
"waitCycles": 0,
"cancelCycles": 0,
"realtimeMonitoringEnabled": false,
"state": {
"severity": "string",
"condition": {}
}
}
The identifier for the SymptomDefinition. Must be null during create.
The name of the SymptomDefinition
The adapter kind identifier for the SymptomDefinition
The resource kind identifier for the SymptomDefinition
The number of consecutive cycles to wait when a symptom state is true before a symptom is triggered
The number of consecutive cycles to wait when a symptom state is false before a symptom is cancelled
Indicates whether real-time monitoring is enabled for the symptom or not. (This field is only visible in SaaS)
The SymptomState is a product of the severity and a condition. A symptom definition may have one SymptomState per severity level.
The created Symptom Definition
"symptom-definition Object"
The identifier for the SymptomDefinition. Must be null during create.
The name of the SymptomDefinition
The adapter kind identifier for the SymptomDefinition
The resource kind identifier for the SymptomDefinition
The number of consecutive cycles to wait when a symptom state is true before a symptom is triggered
The number of consecutive cycles to wait when a symptom state is false before a symptom is cancelled
Indicates whether real-time monitoring is enabled for the symptom or not. (This field is only visible in SaaS)
The SymptomState is a product of the severity and a condition. A symptom definition may have one SymptomState per severity level.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"adapterKindKey:"string","name:"string","resourceKindKey:"string","state:"object"}' https://{api_host}/suite-api/api/symptomdefinitions