|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The alert notification configuration object. |
||
| contacts |
array |
The list of contact IDs. |
|
|
string |
The contact ID. |
myContactId |
|
| customWebhooks |
array |
The list of custom webhook notification recipient IDs. |
|
|
string |
The custom webhook notification recipient ID. |
myCustomWebhookId |
|
| dingWebhooks |
array |
The list of DingTalk webhook notification recipient IDs. |
|
|
string |
The DingTalk webhook notification recipient ID. |
myDingWebhookId |
|
| fsWebhooks |
array |
The list of Lark webhook notification recipient IDs. |
|
|
string |
The Lark webhook notification recipient ID. |
myFsWebhookId |
|
| groups |
array |
The list of contact group IDs. |
|
|
string |
The contact group ID. |
myContactGroupId |
|
| silenceTime |
integer |
The notification mute period, in seconds. |
86400 |
| slackWebhooks |
array |
The list of Slack webhook notification recipient IDs. |
|
|
string |
The Slack webhook notification recipient ID. |
mySlackWebhookId |
|
| wxWebhooks |
array |
The list of WeChat webhook notification recipient IDs. |
|
|
string |
The WeChat webhook notification recipient ID. |
myWxWebhookId |
|
| notifyTime | AlertRuleTimeSpan |
The notification time period during which notifications are sent. |
|
| dingCoolAppWebhooks |
array |
The list of DingTalk cool app webhook notification recipient IDs. |
|
|
string |
The DingTalk cool app webhook ID. |
myDingCoolAppWebhookId |
|
| qwencloudContacts |
object |
The Qwen notification recipient configuration. The outer and inner keys are custom identifiers, and the inner Boolean value specifies whether to enable the notification recipient. |
{"teamA":{"oncall":true}} |
|
object |
The Qwen notification recipient configuration. The key is a custom identifier, and the value is a Boolean switch that specifies whether to enable the notification recipient. |
{"oncall":true} |
|
|
boolean |
Specifies whether to enable the Qwen notification recipient. |
||
| severityNotifications |
object |
The notification recipients and channels configured by severity level, which are mutually exclusive with top-level contacts and groups. The key is the severity level: CRITICAL, ERROR, WARNING, or INFO. |
{"CRITICAL":{"sendRecoverNotification":true}} |
|
The details of the notification recipients and channels configured by severity level, such as CRITICAL, ERROR, WARNING, or INFO. |
|||
| sendOk |
boolean |
Specifies whether to send a recovery notification. This setting can be independently overridden for each severity level in severityNotifications. |
AlertRuleNotification
Updated at:
Is this page helpful?