ListExecutorEvents - 查询Executor运行事件
查询一个或多个Executor的运行事件列表。
接口说明
查询作业 Executor 信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ehpc:ListExecutorEvents |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageSize |
integer |
否 |
分页查询时设置的本页条数。 默认 50,最大 100。 |
50 |
| PageNumber |
integer |
否 |
当前页码。 |
1 |
| Filter |
object |
否 |
查询 Executor 过滤条件。 |
|
| Level |
string |
否 |
运行事件等级。取值范围:
|
Normal |
| TimeAfter |
integer |
否 |
在此时间之后发生的事件,以所在地域的时间(国内站为东八区)转化为 Unix 时间戳。 |
1703820113 |
| TimeBefore |
integer |
否 |
在此时间之前发生的事件,以所在地域的时间(国内站为东八区)转化为 Unix 时间戳。 |
1703819914 |
| JobId |
string |
否 |
作业 ID。 |
job-xxxx |
| ExecutorIds |
array |
否 |
Executor ID 列表,最大支持 100 条。 |
|
|
string |
否 |
Executor ID。格式为 JobId-TaskName-ArrayIndex。 |
job-xxxx-Task0-1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
896D338C-E4F4-41EC-A154-D605E5DE**** |
| PageSize |
integer |
分页查询时设置的本页条数。 |
50 |
| PageNumber |
integer |
当前页码。 |
1 |
| TotalCount |
integer |
列表条目总数。 |
40 |
| ExecutorEventList |
array<object> |
运行事件列表。 |
|
|
object |
运行事件属性。 |
||
| JobId |
string |
作业 ID。 |
job-xxxx |
| ExecutorId |
string |
Executor ID。格式为 JobId-TaskName-ArrayIndex。 |
job-xxxx-Task0-1 |
| Level |
string |
运行事件等级。取值范围:
|
Normal |
| Time |
string |
运行事件发生的事件。 |
2024-02-20 10:04:13 |
| Content |
string |
运行事件内容。 |
Executor created successfully |
示例
正常返回示例
JSON格式
{
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****",
"PageSize": 50,
"PageNumber": 1,
"TotalCount": 40,
"ExecutorEventList": [
{
"JobId": "job-xxxx",
"ExecutorId": "job-xxxx-Task0-1",
"Level": "Normal",
"Time": "2024-02-20 10:04:13",
"Content": "Executor created successfully"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | 无效的参数:%s |
| 400 | JobNotFound | The specified job id is not found. | 未找到作业ID |
| 406 | DbError | A database error occurred. | 数据库错误 |
| 407 | NotAuthorized | No authorization is granted. | 未授权 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。