ncloud_add_acg_inbound_rule
Add an inbound rule to an Access Control Group (ACG) to allow traffic from a specified IP block or ACG. Set protocol, port range, and description to govern network access.
Instructions
Add an inbound rule to an Access Control Group
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number (required) | |
| ipBlock | No | Access source IP block in CIDR format (e.g., 0.0.0.0/0). Cannot be used with accessControlGroupSequence. | |
| portRange | No | Allowed port range (e.g., 22, 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 | Access source ACG number (alternative to ipBlock). Cannot be used with ipBlock. | |
| accessControlGroupRuleDescription | No | Rule description (0-1000 bytes) |