File tree Expand file tree Collapse file tree 1 file changed +22
-21
lines changed Expand file tree Collapse file tree 1 file changed +22
-21
lines changed Original file line number Diff line number Diff line change @@ -8966,34 +8966,35 @@ paths:
8966
8966
- oauth:
8967
8967
- firewall:read_write
8968
8968
requestBody:
8969
+ description: Creates a Firewall object that can be applied to a Linode service to filter the service's network traffic.
8969
8970
content:
8970
8971
application/json:
8971
8972
schema:
8973
+ type: object
8972
8974
required:
8973
8975
- rules
8974
- allOf:
8975
- - $ref: '#/components/schemas/Firewall'
8976
- - type: object
8976
+ properties:
8977
+ label:
8978
+ $ref: '#/components/schemas/Firewall/properties/label'
8979
+ rules:
8980
+ $ref: '#/components/schemas/Firewall/properties/rules'
8981
+ tags:
8982
+ $ref: '#/components/schemas/Firewall/properties/tags'
8983
+ devices:
8984
+ type: object
8985
+ description: >
8986
+ A Firewall Device assigns a Firewall to a Linode service. Currently, Firewalls
8987
+ can only be assigned to Linode instances.
8977
8988
properties:
8978
- devices:
8979
- type: object
8989
+ linodes:
8980
8990
description: >
8981
- A Firewall Device assigns a Firewall to a Linode service. Currently, Firewalls
8982
- can only be assigned to Linode instances.
8983
- properties:
8984
- linodes:
8985
- description: >
8986
- An array of Linode IDs. A Firewall Device will be created for each ID.
8987
- type: array
8988
- items:
8989
- type: integer
8990
- example:
8991
- - 123
8992
- - 456
8993
- - type: object
8994
- properties:
8995
- status:
8996
- readOnly: true
8991
+ An array of Linode IDs. A Firewall Device will be created for each ID.
8992
+ type: array
8993
+ items:
8994
+ type: integer
8995
+ example:
8996
+ - 123
8997
+ - 456
8997
8998
responses:
8998
8999
'200':
8999
9000
description: Returns information about the created Firewall.
You can’t perform that action at this time.
0 commit comments