更新时间:2023-12-25 GMT+08:00
分享

生命周期挂钩

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

创建生命周期挂钩

POST /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}

as:lifecycleHooks:create

查询生命周期挂钩列表

GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/list

as:lifecycleHooks:list

查询生命周期挂钩详情

GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name}

as:lifecycleHooks:get

修改生命周期挂钩

PUT /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name}

as:lifecycleHooks:update

伸缩实例生命周期回调

PUT /autoscaling-api/v1/{project_id}/scaling_instance_hook/{scaling_group_id}/callback

as:instanceHooks:action

查询伸缩实例挂起信息

GET /autoscaling-api/v1/{project_id}/scaling_instance_hook/{scaling_group_id}/list

as:instanceHooks:list

删除生命周期挂钩

DELETE /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name}

as:lifecycleHooks:delete

相关文档