Add a new rule to an existing security group.
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
Group ID
"024a29e9-b4b7-4c91-9a46-505be123d9f8"
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
Datetime when the rule was created
"2019-06-18T11:56:16+0000"
Rule description
"Some description"
Ingress or egress, which is the direction in which the security group rule is applied
egress, ingress Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules.
IPv4, IPv6 "IPv4"
The ID of the security group rule
"00000000-0000-4000-8000-000000000000"
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 rule
The remote IP prefix that is matched by this security group rule
"10.0.0.0/8"
The revision number of the resource
0
The security group ID to associate with this security group rule
"00000000-0000-4000-8000-000000000000"
Datetime when the rule was last updated
"2019-06-18T11:57:00+0000"