Add a new rule to an existing security group. Returns a task ID for tracking the asynchronous operation.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Region ID
1
Security group ID
"00000000-0000-4000-8000-000000000000"
Ingress or egress, which is the direction in which the security group is applied
egress, ingress "ingress"
Rule description
255"Some description"
Ether type
IPv4, IPv6 "IPv4"
The maximum port number in the range that is matched by the security group rule
0 <= x <= 6553580
The minimum port number in the range that is matched by the security group rule
0 <= x <= 6553580
Protocol
ah, any, dccp, egp, esp, gre, icmp, igmp, ipencap, ipip, ipv6-encap, ipv6-frag, ipv6-icmp, ipv6-nonxt, ipv6-opts, ipv6-route, ospf, pgm, rsvp, sctp, tcp, udp, udplite, vrrp "tcp"
The remote group UUID to associate with this security group
"00000000-0000-4000-8000-000000000000"
The remote IP prefix that is matched by this security group rule
"10.0.0.0/8"
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
GET /v1/tasks/{task_id} - Check individual task status and details
Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.["d478ae29-dedc-4869-82f0-96104425f565"]