create_auto_scale_policy
Creates an Apache CloudStack AutoScale policy to scale up or down when specified conditions are met over a set duration, with optional quiet time between actions.
Instructions
Create an AutoScale policy
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>",
"conditionids": "<conditionids>",
"duration": "<duration>"
},
"name": "create_auto_scale_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform (scaleup, scaledown) | |
| duration | Yes | Duration in seconds to evaluate conditions | |
| quiettime | No | Quiet time in seconds after a scaling action | |
| conditionids | Yes | Comma-separated condition IDs |