|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Used for the SubscriptionAndNotifyStrategyForView.notifyStrategy subfield. |
||
| notifyStrategyId |
string |
The ID of the notification strategy. |
|
| notifyStrategyName |
string |
The name of the notification strategy. |
|
| description |
string |
The description of the notification strategy. |
|
| enable |
boolean |
Specifies whether to enable the notification strategy. Valid values: true, false. |
|
| userId |
string |
The user ID. |
|
| workspace |
string |
The workspace to which the notification strategy belongs. |
|
| syncFromType |
string |
The source from which the strategy is synchronized. |
|
| mode |
string |
The mode of the notification strategy. |
|
| enableIncidentManagement |
boolean |
Specifies whether to enable incident management. Valid values: true, false. |
|
| ignoreRestoredNotification |
boolean |
Specifies whether to ignore notifications for restored alerts. Valid values: true, false. |
|
| incidentResponsePlanId |
string |
The ID of the incident response plan. |
|
| groupingSetting |
object |
The settings for alert grouping. |
|
| groupingKeys |
array |
The keys for grouping alerts. |
|
|
string |
A grouping key. For example, 'alertname'. |
||
| periodMin |
integer |
The time window in minutes for grouping alerts. |
|
| silenceSec |
integer |
The silence period in seconds after a notification is sent for a group. |
|
| times |
integer |
The number of times to send notifications for a group. |
|
| routes |
array |
The list of notification routes. |
|
|
object |
The configuration for a single notification route. |
||
| channels |
array |
The notification channels for the route. |
|
|
object |
The configuration for a single notification channel. |
||
| channelType |
string |
The type of the notification channel, such as 'sms' or 'email'. |
|
| enabledSubChannels |
array |
The enabled sub-channels. |
|
|
string |
An enabled sub-channel. |
||
| receivers |
array |
The list of receivers for the channel. |
|
|
string |
A receiver, which can be a user ID or a contact group ID. |
||
| effectTimeRange |
object |
The time range during which the notification route is active. |
|
| dayInWeek |
array |
The days of the week when the route is active. |
|
|
integer |
A day of the week, where 1 represents Monday and 7 represents Sunday. |
||
| endTimeInMinute |
integer |
The end time of the active period, specified in minutes from 00:00. |
|
| startTimeInMinute |
integer |
The start time of the active period, specified in minutes from 00:00. |
|
| timeZone |
string |
The time zone for the active period. For example, 'Asia/Shanghai'. |
|
| filterSetting | FilterSetting |
The filter settings for the route. |
|
| severities |
array |
The alert severities that trigger this route. |
|
|
string |
An alert severity level, such as 'P1' or 'Critical'. |
||
| digitalEmployeeName |
string |
The name of the digital employee assigned to this route. |
|
| enableRca |
boolean |
Specifies whether to enable root cause analysis (RCA) for alerts that match this route. Valid values: true, false. |
|
| customTemplateEntries |
array |
The list of custom templates. |
|
|
object |
The settings for a custom template entry. |
||
| targetType |
string |
The target type for the custom template. |
|
| templateUuid |
string |
The unique identifier (UUID) of the template. |
|
| createTime |
string |
The creation time of the notification strategy. |
|
| updateTime |
string |
The last update time of the notification strategy. |