最近更新时间:2025-07-15 10:36:01
调用 DescribeSysEventGroupList 接口,查询指定账号下的事件分组列表。
请求方式:GET
VPC内域名:monitor.internal.api.ksyun.com
接口调用频率限制为:3600次/分钟。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
Action | 是 | String | 公共参数,本接口取值:DescribeSysEventGroupList。 |
Version | 是 | String | 公共参数,本接口取值:2021-01-01。 |
Namespace | 是 | String | 表示一类云产品,指定命名空间。 示例值:KEC |
StartTime | 是 | Integer | 起始时间。
示例值:1634140600000 |
EndTime | 否 | Integer | 结束时间。
示例值:1634150600000 |
EventName | 否 | String | 指定事件名称。
示例值: XidError,SXidError |
InstanceId | 否 | Array of String | 指定实例ID。
|
Order | 否 | Boolean | 结果按照事件创建时间排序方式。 有效值:
|
PageIndex | 否 | Integer | 页号 默认值:1 示例值:1 |
PageSize | 否 | Integer | 每页显示的数据行数 默认值: 10 最大值:100 |
名称 | 类型 | 说明 |
|---|---|---|
requestId | String | 请求的ID。 |
code | String | 状态码。 |
message | String | 返回描述信息 |
sysEventGroupList | Array of SysEventGroup | 资源列表 |
totalCount | Int | 告警历史个数 |
${region} 可替换相应区域,详见:Region 参考
${公共参数} 可替换相应区域,详见:公共参数
curl -X GET 'https://monitor.${region}.api.ksyun.com?Action=DescribeSysEventGroupList&Version=2021-01-01&Namespace=KEC' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H ${公共参数}支持XML和JSON
JSON格式
{
"requestId": "7106664e-bce9-4871-b5df-9cf6e25ce142",
"code": "Success",
"message": "Success",
"sysEventGroupList": [
{
"instanceId": "XXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
"groupId": "XXXX-e11b-438e-82af-XXXXXXXXXX",
"producttype": 0,
"eventName": "InstanceLiveMigrationStart",
"status": "Start",
"createdAt": 1748228314317,
"updateAt": 1748228314358,
"planAt": 0,
"finishAt": 0,
"deadline": 0
},
{
"instanceId": "XXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
"groupId": "XXXX-e11b-438e-82af-XXXXXXXXXX",
"producttype": 0,
"eventName": "InstanceLiveMigrationFinished",
"status": "Finished",
"createdAt": 1748228101242,
"updateAt": 1748228303636,
"planAt": 0,
"finishAt": 0,
"deadline": 0
}
],
"totalCount": 11
}以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
纯净模式
