"notifications": [{"event_configs": [{"event_name": "JobFailed" // 事件名称},{"event_name": "JobSucceed","event_vars": [ // 自定义事件参数{"name": "jobSucceed","value": "Success"}]}],"topic_name": "job-message" // CMQ Topic Name}],
{"Events": [{"EventVersion": "1.0","EventTime": "2018-06-15T14:43:17Z","Region": "ap-guangzhou","Batch": {"ComputeNodeId": "node-0iy7wxyo","EnvId": "env-ptoxdb1t","ComputeNodeState": "CREATED","Mem": 8,"ResourceCreatedTime": "2018-06-15T14:43:18Z","EnvName": "batch-env","ComputeNodeInstanceId": "ins-9rikj9kw","Cpu": 4},"EventName": "COMPUTE_NODE_CREATED","EventVars": []}]}
类型 | 描述 |
JOB_RUNNING | 作业运行 |
JOB_SUCCEED | 作业完成 |
JOB_FAILED | 作业失败 |
JOB_FAILED_INTERRUPTED | 作业失败中断 |
TASK_RUNNING | 任务运行 |
TASK_SUCCEED | 任务完成 |
TASK_FAILED | 任务失败 |
TASK_FAILED_INTERRUPTED | 任务失败中断 |
TASK_INSTANCE_RUNNING | 任务实例运行 |
TASK_INSTANCE_SUCCEED | 任务实例完成 |
TASK_INSTANCE_FAILED | 任务实例失败 |
TASK_INSTANCE_FAILED_INTERRUPTED | 任务实例失败中断 |
类型 | 描述 |
COMPUTE_ENV_CREATED | 创建计算环境 |
COMPUTE_ENV_DELETED | 删除计算环境 |
COMPUTE_NODE_CREATED | 计算节点创建成功 |
COMPUTE_NODE_CREATION_FAILED | 计算节点创建失败 |
COMPUTE_NODE_RUNNING | 计算节点运行中 |
COMPUTE_NODE_ABNORMAL | 计算节点异常 |
COMPUTE_NODE_DELETING | 计算节点销毁中 |
本页内容是否解决了您的问题?