全部产品
Search
文档中心

实时数仓Hologres:ListOperationEvents - 查询操作事件列表

更新时间:May 21, 2026

获取指定条件下的操作事件列表,支持分页和排序。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

POST /api/v1/instances/listOperationEvents HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

body

object

请求体。

pageSize

integer

分页大小,默认 50,最大 100

30

pageNumber

integer

页编号,默认 1

1

state

string

状态筛选

success

eventName

string

事件名称筛选

COLD_UPGRADE

eventType

string

事件类型筛选

SYSTEM_MAINTENANCE

scheduleTimeDesc

boolean

是否按计划时间降序排序

true

eventNameDesc

boolean

是否按名称降序排序

true

instanceId

string

实例 Id

hgpost-cn-xxx

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70

Data

array<object>

事件列表

array<object>

返回的结果。

Id

string

Id

1826503661244379138

Cancelable

boolean

是否可取消

true

ChangeScheduleTime

boolean

是否可以修改事件

true

ScheduleTime

string

ScheduleTime

2024-08-22 15:49:28

State

string

State

queued

ResourceId

string

资源 Id

hgpost-cn-sxfsdfsd

EventType

string

事件类型筛选

UPGRADE_ON_CUSTOMERS_BEHALF

EventName

string

事件名称筛选

HOT_UPGRADE

InstanceName

string

实例名称

haha

ZoneId

string

区域 ID

cn-hangzhou-k

MaintainWindow

string

维护时间窗口

21:00-22:00

FollowerInstances

array<object>

从实例列表

object

数组对象

InstanceId

string

实例 Id

hgxxxx

InstanceName

string

实例名称

hi

Detail

string

事件详情

{}

PageSize

integer

分页大小,默认 50,最大 100

30

PageNumber

integer

页编号,默认 1

3

TotalCount

integer

总数

120

示例

正常返回示例

JSON格式

{
  "RequestId": "D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70",
  "Data": [
    {
      "Id": "1826503661244379138",
      "Cancelable": true,
      "ChangeScheduleTime": true,
      "ScheduleTime": "2024-08-22 15:49:28",
      "State": "queued",
      "ResourceId": "hgpost-cn-sxfsdfsd",
      "EventType": "UPGRADE_ON_CUSTOMERS_BEHALF",
      "EventName": "HOT_UPGRADE",
      "InstanceName": "haha",
      "ZoneId": "cn-hangzhou-k",
      "MaintainWindow": "21:00-22:00",
      "FollowerInstances": [
        {
          "InstanceId": "hgxxxx",
          "InstanceName": "hi"
        }
      ],
      "Detail": "{}"
    }
  ],
  "PageSize": 30,
  "PageNumber": 3,
  "TotalCount": 120
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情