ncloud_add_acg_inbound_rule
Control inbound traffic to an Access Control Group by adding rules for protocol, port range, and source IP or ACG.
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) |