更新时间:2024-05-14 GMT+08:00

自动化运维

“√”表示支持,“x”表示暂不支持。

表1 自动化运维

权限

对应API接口

授权项

IAM项目(Project)

企业项目(Enterprise Project)

创建任务

POST /v1/{project_id}/cms/workflow

cms:workflow:create

×

更新任务

PUT /v1/{project_id}/cms/workflow/{workflow_id}/trigger/action

cms:workflow:update

×

对暂停中的任务进行操作

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/operation

cms:execution:create

×

获取工作流执行中的执行详情

GET /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/status

cms:execution:get

×

终止任务执行

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/terminate

cms:execution:create

×

脚本查询

POST /v1/{project_id}/cms/script/list

cms:script:list

×

脚本版本查询

POST /v1/{project_id}/cms/script-version-list

cms:script:list

×

作业管理主页模糊查询

POST /v1/{project_id}/cms/job/list

cms:job:list

×

根据作业id查询方案(自定义模板)列表

POST /v1/{project_id}/cms/template-list/{job_id}

cms:template:list

×

获取方案信息

GET /v1/{project_id}/cms/template/{template_id}

cms:template:get

×

查询任务列表

POST /v1/{project_id}/cms/workflow-list

cms:workflow:list

×

获取任务执行历史

GET /v1/{project_id}/cms/workflow/{workflow_id}/executions

cms:execution:get

×

执行工作流

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions

cms:execution:create

×