ncloud_add_acg_outbound_rule
Adds an outbound rule to an Access Control Group in a VPC, specifying destination IP block or ACG, protocol, and port range to control outbound traffic.
Instructions
Add an outbound rule to an Access Control Group
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": {
"vpcNo": "<vpcNo>",
"accessControlGroupNo": "<accessControlGroupNo>",
"protocolTypeCode": "<protocolTypeCode>"
},
"name": "ncloud_add_acg_outbound_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number (required) | |
| ipBlock | No | Destination IP block in CIDR format (e.g., 0.0.0.0/0). Cannot be used with accessControlGroupSequence. | |
| portRange | No | Allowed port range (e.g., 80, 1-65535). Required if protocol is TCP or UDP. | |
| protocolTypeCode | Yes | Protocol type code (TCP, UDP, ICMP, or 1-254 protocol number) | |
| accessControlGroupNo | Yes | ACG number to add rule to (required) | |
| accessControlGroupSequence | No | Destination ACG number (alternative to ipBlock). Cannot be used with ipBlock. | |
| accessControlGroupRuleDescription | No | Rule description (0-1000 bytes) |