态势感知 SA-告警转事件(仅支持华东-上海一使用):请求参数

时间:2023-11-01 16:15:45

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token。 通过调用 IAM 服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。

最小长度:1

最大长度:2097152

content-type

String

application/json;charset=UTF-8

缺省值:application/json;charset=UTF-8

最小长度:1

最大长度:64

表3 请求Body参数

参数

是否必选

参数类型

描述

ids

Array of strings

转事件的ID列表

最小长度:32

最大长度:64

incident_id

String

事件id

最小长度:1

最大长度:128

event_content

event_content object

事件内容

incident_content

incident_content object

事件内容

marked_evidence

Boolean

标记为证据

表4 event_content

参数

是否必选

参数类型

描述

handle_status

String

状态

最小长度:1

最大长度:128

表5 incident_content

参数

是否必选

参数类型

描述

title

String

事件名称

最小长度:1

最大长度:128

type_category

String

事件类型

最小长度:1

最大长度:128

evidence_list

Array of strings

证据列表

最小长度:32

最大长度:64

note_list

Array of strings

评论列表

最小长度:32

最大长度:64

attachment_list

Array of strings

附件列表

最小长度:32

最大长度:64

incident_type

incident_type object

事件类型

description

String

Id value

最小长度:32

最大长度:64

表6 incident_type

参数

是否必选

参数类型

描述

id

String

Id value

最小长度:32

最大长度:64

layoutId

String

Id value

最小长度:32

最大长度:64

incident_type

String

Id value

最小长度:32

最大长度:64

category

String

Id value

最小长度:32

最大长度:64

support.huaweicloud.com/api-sa/CreateBatchOrderAlerts.html