Lifecycle Hooks¶
Permission | API | Action | IAM Project | Enterprise Project |
---|---|---|---|---|
Creating a lifecycle hook | POST /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id} | as:lifecycleHooks:create | Y | Y |
Querying lifecycle hooks | GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/list | as:lifecycleHooks:list | Y | Y |
Querying lifecycle hook details | GET /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name} | as:lifecycleHooks:get | Y | Y |
Modifying a lifecycle hook | PUT /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name} | as:lifecycleHooks:update | Y | Y |
Calling back an instance lifecycle hook | PUT /autoscaling-api/v1/{project_id}/scaling_instance_hook/{scaling_group_id}/callback | as:instanceHooks:action | Y | Y |
Querying instance suspension | GET /autoscaling-api/v1/{project_id}/scaling_instance_hook/{scaling_group_id}/list | as:instanceHooks:list | Y | Y |
Deleting a lifecycle hook | DELETE /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name} | as:lifecycleHooks:delete | Y | Y |