Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Region ID
Security group ID
Body
Rule description
255
"Some description"
Ingress or egress, which is the direction in which the security group is applied
egress
, ingress
"ingress"
Ether type
IPv4
, IPv6
"IPv4"
The maximum port number in the range that is matched by the security group rule
0 <= x <= 65535
80
The minimum port number in the range that is matched by the security group rule
0 <= x <= 65535
80
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
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"
Response
Created rule details
Datetime when the rule was created
"2019-06-18T11:56:16+0000"
Ingress or egress, which is the direction in which the security group rule is applied
egress
, ingress
The ID of the security group rule
"00000000-0000-4000-8000-000000000000"
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"
Rule description
"Some description"
Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules.
IPv4
, IPv6
"IPv4"
The maximum port number in the range that is matched by the security group rule
0 <= x <= 65535
80
The minimum port number in the range that is matched by the security group rule
0 <= x <= 65535
80
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"