你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GroupingConfiguration interface

分组配置属性包。

属性

enabled

已启用分组

groupByAlertDetails

要分组依据的警报详细信息列表(选中匹配Method 时)

groupByCustomDetails

要分组依据的自定义详细信息键列表(如果已选中匹配Method)。 只能使用当前警报规则中定义的密钥。

groupByEntities

要分组依据的实体类型列表(如果已选中 matchingMethod)。 只能使用在当前警报规则中定义的实体。

lookbackDuration

将组限制为在回溯持续时间内创建的警报(采用 ISO 8601 持续时间格式)

matchingMethod

分组匹配方法。 当方法为 Selected 至少一个 groupByEntities 时,必须提供 groupByAlertDetails、groupByCustomDetails,而不是空。

reopenClosedIncident

重新打开关闭的匹配事件

属性详细信息

enabled

已启用分组

enabled: boolean

属性值

boolean

groupByAlertDetails

要分组依据的警报详细信息列表(选中匹配Method 时)

groupByAlertDetails?: string[]

属性值

string[]

groupByCustomDetails

要分组依据的自定义详细信息键列表(如果已选中匹配Method)。 只能使用当前警报规则中定义的密钥。

groupByCustomDetails?: string[]

属性值

string[]

groupByEntities

要分组依据的实体类型列表(如果已选中 matchingMethod)。 只能使用在当前警报规则中定义的实体。

groupByEntities?: string[]

属性值

string[]

lookbackDuration

将组限制为在回溯持续时间内创建的警报(采用 ISO 8601 持续时间格式)

lookbackDuration: string

属性值

string

matchingMethod

分组匹配方法。 当方法为 Selected 至少一个 groupByEntities 时,必须提供 groupByAlertDetails、groupByCustomDetails,而不是空。

matchingMethod: string

属性值

string

reopenClosedIncident

重新打开关闭的匹配事件

reopenClosedIncident: boolean

属性值

boolean