NotifyStrategyForModify

名称

类型

描述

示例值

object

用于查看的实体。

description

string

描述

test

groupingSetting

object

合并设置

groupingKeys

array

合并 keys

string

合并字段

severity

periodMin

integer

检查周期分钟数

5

silenceSec

integer

沉默秒数

300

times

integer

触发次数

1

ignoreRestoredNotification

boolean

恢复是否通知

false

notifyStrategyName

string

名称

策略名称

routes

array

通知渠道路由设置

object

通知渠道路由设置

channels

array

通知渠道

object

通知渠道。

channelType

string

渠道类型

CONTACT

enabledSubChannels

array

启用通知类型

string

通知渠道

SMS

receivers

array

渠道接收方

string

指定接受人

contactId

effectTimeRange

object

有效时间范围

dayInWeek

array

生效天(周一到周日)

integer

1-7 表示周一到周日

1

endTimeInMinute

integer

结束时间(分钟数)

30

startTimeInMinute

integer

开始时间(分钟数)

60

timeZone

string

时区

+08:00

filterSetting FilterSetting

路由条件

severities

array

严重级别列表

string

严重级别,CRITICAL WARNING INFO

INFO

customTemplateEntries

array

通知渠道模板

object

模板详情

targetType

string

通知类型

SMS

templateUuid

string

模板 UUID

123123-12-31-231-23-12-3123

enableIncidentManagement

boolean

是否启用事件管理

true

filterSetting FilterSetting

过滤设置

workspaceFilterSetting WorkspaceFilterSetting

工作空间过滤设置

pushingSetting

object

推送设置

templateUuid

string

消息模板 UUID

模板 UUID

alertActionIds

array

告警动作 ID 列表

string

告警动作 ID

["action-123", "action-456"]

restoreActionIds

array

恢复动作 ID 列表

string

恢复动作 ID

["restore-789"]

repeatNotifySetting

object

循环通知设置

endIncidentState

string

结束事件状态

"Resolved"

repeatInterval

integer

重复通知的时间间隔

5

autoRecoverSeconds

integer

自动恢复时间

300

escalationId

array

升级策略 ID 列表

string

升级策略 ID

["escalation-123", "escalation-456"]