ncloud_add_acg_outbound_rule
Add an outbound security rule to a Naver Cloud Platform Access Control Group by specifying protocol, destination IP or ACG, and port range.
Instructions
Add an outbound rule to an Access Control Group
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) |