ncloud_update_asg
Update an existing Auto Scaling Group's size limits, desired capacity, health checks, or launch configuration while keeping omitted fields; minSize/maxSize required and scaling blocks changes.
Instructions
Update an existing Auto Scaling Group. minSize and maxSize are always required (pass the current values to keep them — see ncloud_get_asg_detail); other omitted fields keep their current values. Fails while the group is scaling. A new launch configuration applies only to servers created afterwards.
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>",
"minSize": "<minSize>",
"maxSize": "<maxSize>"
},
"name": "ncloud_update_asg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxSize | Yes | Maximum number of servers (0-30, ≥ minSize). Required by the API even when unchanged. | |
| minSize | Yes | Minimum number of servers (0-30, ≤ maxSize). Required by the API even when unchanged. | |
| defaultCoolDown | No | Default cooldown in seconds | |
| desiredCapacity | No | Desired number of servers (between minSize and maxSize) | |
| serverNamePrefix | No | New server name prefix (3-7 chars: lowercase letters, digits, '-') | |
| autoScalingGroupNo | Yes | Auto Scaling Group number to update | |
| healthCheckTypeCode | No | Health check type: SVR (server) or LOADB (load balancer — requires healthCheckGracePeriod) | |
| launchConfigurationNo | No | New launch configuration number (applies to servers created after the update) | |
| healthCheckGracePeriod | No | Health check grace period in seconds. Required when healthCheckTypeCode=LOADB. |