as__DeleteLifecycleHook
Deletes a specified lifecycle hook from an Auto Scaling group; use it to remove hooks when no scaling activity is in progress.
Instructions
[AS] 删除一个指定生命周期挂钩。伸缩组进行伸缩活动时,不允许删除该伸缩组内的生命周期挂钩。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lifecycle_hook_name": "<lifecycle_hook_name>",
"project_id": "<project_id>",
"scaling_group_id": "<scaling_group_id>"
},
"name": "as__DeleteLifecycleHook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID。 | |
| scaling_group_id | Yes | 伸缩组标识。 | |
| lifecycle_hook_name | Yes | 生命周期挂钩标识。 |