as__BatchDeleteScalingPolicies
Batch deletes up to 20 Auto Scaling policies and optionally removes their alarm rules or forces deletion.
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": {
"action": "<action>",
"project_id": "<project_id>",
"scaling_policy_id": "<scaling_policy_id>"
},
"name": "as__BatchDeleteScalingPolicies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 批量操作伸缩策略action标识:删除:delete。启用:resume。停止:pause。 | |
| project_id | Yes | 租户标识。 | |
| delete_alarm | No | 是否删除告警策略使用的告警规则。可选值为yes或no,默认为no。 只有action为delete时,该字段才生效。 | |
| force_delete | No | 是否强制删除伸缩策略。默认为no,可选值为yes或no。只有action为delete时,该字段才生效。 | |
| scaling_policy_id | Yes | 伸缩策略ID。 |