Skip to main content

Create_Security_Rule_Payload

directionstringrequired

The direction of traffic that the firewall rule applies to.

ethertypestringrequired

The Ethernet type associated with the rule.

protocolstringrequired

The network protocol associated with the rule. Call the List firewall rule protocols endpoint to retrieve a list of permitted network protocols.

Possible values: [any, ah, dccp, egp, esp, gre, hopopt, icmp, igmp, ip, ipip, ipv6-encap, ipv6-frag, ipv6-icmp, icmpv6, ipv6-nonxt, ipv6-opts, ipv6-route, ospf, pgm, rsvp, sctp, tcp, udp, udplite, vrrp]

Example: any
remote_ip_prefixstringrequired

The IP address range that is allowed to access the specified port. Use "0.0.0.0/0" to allow any IP address.

Create_Security_Rule_Payload
{
"direction": "string",
"ethertype": "string",
"protocol": "any",
"remote_ip_prefix": "string"
}