Skip to content

Commit a8db4ca

Browse files
authored
Merge pull request #494 from lpmi-13/update_firewall_create
bring docs in line with cli help output
2 parents 695f469 + 2fab94d commit a8db4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10494,8 +10494,8 @@ paths:
1049410494
source: >
1049510495
linode-cli firewalls create \
1049610496
--label example-firewall \
10497-
--outbound_policy ACCEPT \
10498-
--inbound_policy DROP \
10497+
--rules.outbound_policy ACCEPT \
10498+
--rules.inbound_policy DROP \
1049910499
--rules.inbound '[{"protocol": "TCP", "ports": "22, 80, 8080, 443", "addresses": {"ipv4": ["192.0.2.1", "192.0.2.0/24"], "ipv6": ["2001:DB8::/32"]}, "action": "ACCEPT"}]' \
1050010500
--rules.outbound '[{"protocol": "TCP", "ports": "49152-65535", "addresses": {"ipv4": ["192.0.2.0/24"],"ipv6": ["2001:DB8::/32"]}, "action": "DROP", "label": "outbound-rule123", "description": "An example outbound rule description."}]'
1050110501
/networking/firewalls/{firewallId}:

0 commit comments

Comments
 (0)