Skip to content

Commit 2c5817f

Browse files
authored
Merge pull request #545 from Dorthu/bugfix/fix-cli-example-firewalls-rules-update
bug: Fixed CLI example for `firewalls rules-update` action
2 parents 20fe8e6 + 9506b65 commit 2c5817f

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
@@ -11107,8 +11107,8 @@ paths:
1110711107
- lang: CLI
1110811108
source: >
1110911109
linode-cli firewalls rules-update 123 \
11110-
--inbound '[{"protocol": "TCP", "ports": "22, 80, 8080, 443", "addresses": {"ipv4": ["192.0.2.1", "192.0.2.0/24"], "ipv6": ["2001:DB8::/32"]}}]' \
11111-
--outbound '[{"protocol": "TCP", "ports": "49152-65535", "addresses": {"ipv4": ["192.0.2.1", "192.0.2.0/24"], "ipv6": ["2001:DB8::/32"]}}]'
11110+
--inbound '[{"action":"ACCEPT", "protocol": "TCP", "ports": "22, 80, 8080, 443", "addresses": {"ipv4": ["192.0.2.1/32", "192.0.2.0/24"], "ipv6": ["2001:DB8::/32"]}}]' \
11111+
--outbound '[{"action":"DROP","protocol": "TCP", "ports": "49152-65535", "addresses": {"ipv4": ["192.0.2.1/32", "192.0.2.0/24"], "ipv6": ["2001:DB8::/32"]}}]'
1111211112
/networking/vlans:
1111311113
x-linode-cli-command: vlans
1111411114
get:

0 commit comments

Comments
 (0)