Commit 2fab94d
committed
bring docs in line with cli help output
the docs at https://www.linode.com/docs/api/networking/#firewall-create are a bit out of sync with the recently updated CLI help output.
docs:
```
linode-cli firewalls create \
--label example-firewall \
--outbound_policy ACCEPT \
--inbound_policy DROP \
--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"}]' \
--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."}]'
```
cli-help:
```
$ linode-cli firewalls create --help
linode-cli firewalls create
Firewall Create
Arguments:
--label: (required) The Firewall's label, for display purposes only.
--rules.inbound: The inbound rules for the firewall, as a JSON array.
--rules.outbound: The outbound rules for the firewall, as a JSON array.
--rules.inbound_policy: The default behavior for inbound traffic.
--rules.outbound_policy: The default behavior for outbound traffic.
--tags: An array of tags applied to this object.
```
This commit brings the docs into line with the cli help output.1 parent 695f469 commit 2fab94d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10494 | 10494 | | |
10495 | 10495 | | |
10496 | 10496 | | |
10497 | | - | |
10498 | | - | |
| 10497 | + | |
| 10498 | + | |
10499 | 10499 | | |
10500 | 10500 | | |
10501 | 10501 | | |
| |||
0 commit comments