ncloud_put_scaling_policy
Create or update an Auto Scaling Group scaling policy to control capacity adjustments by server count, percentage, or exact target, with cooldown and step settings.
Instructions
Create or update a scaling policy for an Auto Scaling Group. A new policyName creates a policy; to update, pass policyNo or the existing policyName.
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": {
"autoScalingGroupNo": "<autoScalingGroupNo>",
"adjustmentTypeCode": "<adjustmentTypeCode>",
"scalingAdjustment": "<scalingAdjustment>"
},
"name": "ncloud_put_scaling_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coolDown | No | Cooldown in seconds after scaling (default 300) | |
| policyNo | No | Policy number to update (from ncloud_list_scaling_policies). Omit when creating. | |
| policyName | No | Policy name (1-255 chars: lowercase letters, digits, '-'). A new name creates a policy; an existing name updates it. One of policyNo / policyName is required. | |
| minAdjustmentStep | No | Minimum adjustment step (servers). Only valid with adjustmentTypeCode=PRCNT. | |
| scalingAdjustment | Yes | Adjustment value: CHANG ≥ -2147483648, PRCNT ≥ -100, EXACT ≥ 0; negative values scale in for CHANG/PRCNT | |
| adjustmentTypeCode | Yes | Adjustment type: CHANG (add/remove N servers), PRCNT (change by N percent), EXACT (set capacity to N). See ncloud_get_adjustment_types. | |
| autoScalingGroupNo | Yes | Auto Scaling Group number |