Skip to content

Commit 9836602

Browse files
authored
Merge pull request #548 from bbiggerr/fix/firewalls-4-107-0
Fix Firewall Rules Update Shell example and required properties
2 parents 4da9c4c + 99fdb7a commit 9836602

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

openapi.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11025,8 +11025,9 @@ paths:
1102511025
- Networking
1102611026
summary: Firewall Rules Update
1102711027
description: |
11028-
Updates the inbound and outbound Rules for a Firewall. Using this endpoint will
11029-
replace all of a Firewall's ruleset with the Rules specified in your request.
11028+
Updates the inbound and outbound Rules for a Firewall.
11029+
11030+
**Note:** This command replaces all of a Firewall's `inbound` and/or `outbound` rulesets with the values specified in your request.
1103011031
operationId: updateFirewallRules
1103111032
x-linode-cli-action: rules-update
1103211033
security:
@@ -11038,7 +11039,19 @@ paths:
1103811039
content:
1103911040
application/json:
1104011041
schema:
11041-
$ref: '#/components/schemas/Firewall/properties/rules'
11042+
allOf:
11043+
- $ref: '#/components/schemas/Firewall/properties/rules'
11044+
properties:
11045+
inbound:
11046+
required:
11047+
- action
11048+
- addresses
11049+
- protocol
11050+
outbound:
11051+
required:
11052+
- action
11053+
- addresses
11054+
- protocol
1104211055
responses:
1104311056
'200':
1104411057
description: Firewall Rules updated successfully.
@@ -11072,7 +11085,7 @@ paths:
1107211085
"description": "An example inbound rule description."
1107311086
}
1107411087
],
11075-
"outbound_policy": "DROP"
11088+
"outbound_policy": "DROP",
1107611089
"outbound": [
1107711090
{
1107811091
"protocol": "TCP",

0 commit comments

Comments
 (0)