NotifyStrategyForSNSView

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

用于 SubscriptionAndNotifyStrategyForView.notifyStrategy 子字段

notifyStrategyId

string

通知策略 ID。

example-id-001

notifyStrategyName

string

名称

示例名称

description

string

描述

示例描述

enable

boolean

是否启用

true

userId

string

用户 id

example-id-001

workspace

string

工作空间标识。

示例值

syncFromType

string

同步来源(SNS 新建必为 OBS)

default

mode

string

生命周期模式(SNS 内必为 BundleStrategy)

示例值

enableIncidentManagement

boolean

是否启用事件管理

true

ignoreRestoredNotification

boolean

恢复是否通知

true

incidentResponsePlanId

string

关联响应计划 uuid(= notifyStrategyId)

example-id-001

groupingSetting

object

合并设置

groupingKeys

array

合并 keys

string

合并 key,即事件字段名,同值事件会合并为一条通知。

severity

periodMin

integer

检查周期分钟数

1

silenceSec

integer

沉默秒数

1

times

integer

触发次数

1

routes

array

通知渠道路由设置

object

channels

array

通知渠道

object

channelType

string

渠道类型

DING

enabledSubChannels

array

启用通知类型

string

启用的通知子渠道类型,仅当 channelType 为 CONTACT/GROUP/DUTY 时需要指定。

SMS

receivers

array

渠道接收方

string

接收方标识,如 webhook uuid、robot uuid 或联系人 ID。

my-contact

effectTimeRange

object

生效时段

dayInWeek

array

生效天(周一到周日)

integer

生效天,0-6 表示周日到周六。

1

endTimeInMinute

integer

开始时间(分钟数)

1

startTimeInMinute

integer

开始时间(分钟数)

1

timeZone

string

时区

1700000000

filterSetting FilterSetting

路由级 filter

severities

array

等级过滤

string

严重级别,可选值:CRITICAL、WARNING、INFO。

CRITICAL

digitalEmployeeName

string

数字员工名

示例名称

enableRca

boolean

是否启用 RCA

true

customTemplateEntries

array

通知渠道模板

object

targetType

string

通知类型

default

templateUuid

string

模板 UUID

example-id-001

createTime

string

创建时间

1700000000

updateTime

string

更新时间

1700000000