as__ListScalingInstances
Query and filter instances in an Auto Scaling group with pagination, using lifecycle state, health status, or protection status to find specific group members.
Instructions
[AS] 根据输入条件过滤查询弹性伸缩组中实例信息。查询结果分页显示。可根据实例在伸缩组中的生命周期状态,实例健康状态,实例保护状态,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认查询组内最多20条实例信息
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": {
"project_id": "<project_id>",
"scaling_group_id": "<scaling_group_id>"
},
"name": "as__ListScalingInstances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 查询的记录条数,默认为20。 | |
| project_id | Yes | 项目ID。 | |
| start_number | No | 查询的起始行号,默认为0。 | |
| health_status | No | 实例健康状态:INITIALIZING:初始化。NORMAL:正常。ERROR:异常 | |
| life_cycle_state | No | 实例在伸缩组中的生命周期状态:INSERVICE: 正在使用。PENDING:正在加入伸缩组。REMOVING:正在移出伸缩组。PENDING_WAIT:正在加入伸缩组:等待。REMOVING_WAIT:正在移出伸缩组:等待。 | |
| scaling_group_id | Yes | 伸缩组ID。 | |
| protect_from_scaling_down | No | 实例保护状态:true:已设置实例保护。false:未设置实例保护。 |