as__PauseScalingPolicy
Pauses a specified Auto Scaling policy to stop it from executing; use when the scaling group and policy are IN-SERVICE to avoid failed pause requests.
Instructions
[AS] 立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。
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__PauseScalingPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 执行或启用或停止伸缩策略操作的标识。执行:execute。启用:resume。停止:pause。 | |
| project_id | Yes | 租户标识。 | |
| scaling_policy_id | Yes | 伸缩策略ID。 |