弹性伸缩 AS-生命周期挂钩

时间:2023-12-25 11:38:31

生命周期挂钩

权限

对应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

support.huaweicloud.com/api-as/as_07_0210.html