|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The entity. |
||
| description |
string |
The description. |
test |
| groupingSetting |
object |
The grouping settings. |
|
| groupingKeys |
array |
The keys used for merging. |
|
|
string |
The grouping field. |
severity |
|
| periodMin |
integer |
The check period in minutes. |
5 |
| silenceSec |
integer |
The silence period in seconds. |
300 |
| times |
integer |
The number of triggers. |
1 |
| ignoreRestoredNotification |
boolean |
Specifies whether to send a notification upon recovery. |
false |
| notifyStrategyName |
string |
The name. |
策略名称 |
| routes |
array |
The routing settings for the notification channel. |
|
|
object |
The routing settings for the notification channel. |
||
| channels |
array |
The notification channel. |
|
|
object |
The notification channel. |
||
| channelType |
string |
The channel type. |
CONTACT |
| enabledSubChannels |
array |
The enabled notification types. |
|
|
string |
The notification channel. |
SMS |
|
| receivers |
array |
The channel receivers. |
|
|
string |
The specified recipient. |
contactId |
|
| effectTimeRange |
object |
The effective time range. |
|
| dayInWeek |
array |
The days of the week when the policy is active. Monday to Sunday. |
|
|
integer |
A value from 1 to 7. 1 indicates Monday and 7 indicates Sunday. |
1 |
|
| endTimeInMinute |
integer |
The end time in minutes. |
30 |
| startTimeInMinute |
integer |
The start time in minutes. |
60 |
| timeZone |
string |
The time zone. |
+08:00 |
| filterSetting | FilterSetting |
The routing conditions. |
|
| severities |
array |
The list of severity levels. |
|
|
string |
The severity level. Valid values: CRITICAL, WARNING, and INFO. |
INFO |
|
| digitalEmployeeName |
string |
||
| enableRca |
boolean |
||
| customTemplateEntries |
array |
The notification channel template. |
|
|
object |
The template details. |
||
| targetType |
string |
The notification type. |
SMS |
| templateUuid |
string |
The template UUID. |
123123-12-31-231-23-12-3123 |
| enableIncidentManagement |
boolean |
Specifies whether to enable incident management. |
true |
| filterSetting | FilterSetting |
The filter settings. |
|
| workspaceFilterSetting | WorkspaceFilterSetting |
The workspace filter settings. |
|
| pushingSetting |
object |
The push settings. |
|
| templateUuid |
string |
The message template UUID. |
模板 UUID |
| alertActionIds |
array |
The list of alert action IDs. |
|
|
string |
The alert action ID. |
["action-123", "action-456"] |
|
| restoreActionIds |
array |
The list of restore action IDs. |
|
|
string |
The restore action ID. |
["restore-789"] |
|
| repeatNotifySetting |
object |
The settings for repeated notifications. |
|
| endIncidentState |
string |
The incident state that stops the repeated notifications. |
"Resolved" |
| repeatInterval |
integer |
The interval for repeated notifications. |
5 |
| autoRecoverSeconds |
integer |
The auto-recovery time in seconds. |
300 |
| escalationId |
array |
The list of escalation policy IDs. |
|
|
string |
The escalation policy ID. |
["escalation-123", "escalation-456"] |