You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+45-36Lines changed: 45 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -7685,7 +7685,7 @@ paths:
7685
7685
parameters:
7686
7686
- name: linodeId
7687
7687
in: path
7688
-
description: ID of the Linode to look up.
7688
+
description: ID of the Linode to access.
7689
7689
required: true
7690
7690
schema:
7691
7691
type: integer
@@ -7699,16 +7699,16 @@ paths:
7699
7699
- Linode Instances
7700
7700
summary: Firewalls List
7701
7701
description: >
7702
-
View Firewall information for Firewalls associated with this Linode.
7702
+
View Firewall information for Firewalls assigned to this Linode.
7703
7703
operationId: getLinodeFirewalls
7704
-
x-linode-cli-action: firewalls-list
7704
+
x-linode-cli-action: firewalls
7705
7705
security:
7706
7706
- personalAccessToken: []
7707
7707
- oauth:
7708
7708
- linodes:read_only
7709
7709
responses:
7710
7710
'200':
7711
-
description: Returns a paginated list of Firewalls associated with this Linode.
7711
+
description: Returns a paginated list of Firewalls assigned to this Linode.
7712
7712
content:
7713
7713
application/json:
7714
7714
schema:
@@ -12969,11 +12969,11 @@ paths:
12969
12969
* Use the `rules` property to create inbound and outbound access rules.
12970
12970
12971
12971
* Use the `devices` property to assign the Firewall to a service and apply its Rules to the device. Requires `read_write` [User's Grants](/docs/api/account/#users-grants-view) to the device.
12972
-
Currently, Firewalls can only be assigned to Linode instances.
12972
+
Currently, Firewalls can be assigned to Linode compute instances and NodeBalancers.
12973
12973
12974
-
* A Firewall can be assigned to multiple Linode instances at a time.
12974
+
* A Firewall can be assigned to multiple services at a time.
12975
12975
12976
-
* A Linode instance can have one active, assigned Firewall at a time.
12976
+
* A service can have one active, assigned Firewall at a time.
12977
12977
Additional disabled Firewalls can be assigned to a service, but they cannot be enabled if another active Firewall is already assigned to the same service.
12978
12978
12979
12979
* A `firewall_create` Event is generated when this endpoint returns successfully.
@@ -12984,7 +12984,7 @@ paths:
12984
12984
- oauth:
12985
12985
- firewall:read_write
12986
12986
requestBody:
12987
-
description: Creates a Firewall object that can be applied to a Linode service to filter the service's network traffic.
12987
+
description: Creates a Firewall object that can be applied to a service to filter the service's network traffic.
12988
12988
content:
12989
12989
application/json:
12990
12990
schema:
@@ -12999,7 +12999,9 @@ paths:
12999
12999
description: |
13000
13000
Devices to create for this Firewall.
13001
13001
When a Device is created, the Firewall is assigned to its associated service.
13002
-
Currently, Devices can only be created for Linode instances.
13002
+
Currently, Devices can be created for Linode compute instances and NodeBalancers.
13003
+
13004
+
Additional devices can be assigned after Firewall creation by using the [Firewall Device Create](#firewall-device-create) command.
13003
13005
properties:
13004
13006
linodes:
13005
13007
description: >
@@ -13010,6 +13012,15 @@ paths:
13010
13012
example:
13011
13013
- 123
13012
13014
- 456
13015
+
nodebalancers:
13016
+
description: >
13017
+
An array of NodeBalancer IDs. A Firewall Device is created for each ID.
13018
+
type: array
13019
+
items:
13020
+
type: integer
13021
+
example:
13022
+
- 321
13023
+
- 654
13013
13024
rules:
13014
13025
required:
13015
13026
- inbound_policy
@@ -13158,7 +13169,7 @@ paths:
13158
13169
- A Firewall's Devices cannot be set with this endpoint. Instead, use the
Delete a Firewall resource by its ID. This will remove all of the Firewall's Rules
13242
-
from any Linode services that the Firewall was assigned to.
13252
+
Delete a Firewall resource by its ID. This removes all of the Firewall's Rules
13253
+
from any services that the Firewall was assigned to.
13243
13254
13244
13255
A `firewall_delete` Event is generated when this endpoint returns successfully.
13245
13256
responses:
@@ -13282,9 +13293,7 @@ paths:
13282
13293
- $ref: '#/components/parameters/pageSize'
13283
13294
summary: Firewall Devices List
13284
13295
description: |
13285
-
Returns a paginated list of a Firewall's Devices. A Firewall Device assigns a
13286
-
Firewall to a Linode service (referred to as the Device's `entity`). Currently,
13287
-
only Devices with an entity of type `linode` are accepted.
13296
+
Returns a paginated list of a Firewall's Devices. A Firewall Device assigns a Firewall to a service (referred to as the Device's `entity`).
13288
13297
operationId: getFirewallDevices
13289
13298
x-linode-cli-action: devices-list
13290
13299
security:
@@ -13330,11 +13339,11 @@ paths:
13330
13339
Creates a Firewall Device, which assigns a Firewall to a service (referred to
13331
13340
as the Device's `entity`) and applies the Firewall's Rules to the device.
13332
13341
13333
-
* Currently, only Devices with an entity of type `linode` are accepted.
13342
+
* Currently, Devices with `linode` and `nodebalancer` entity types are accepted.
13334
13343
13335
-
* A Firewall can be assigned to multiple Linode instances at a time.
13344
+
* A Firewall can be assigned to multiple services at a time.
13336
13345
13337
-
* A Linode instance can have one active, assigned Firewall at a time.
13346
+
* A service can have one active, assigned Firewall at a time.
13338
13347
Additional disabled Firewalls can be assigned to a service, but they cannot be enabled if another active Firewall is already assigned to the same service.
13339
13348
13340
13349
* A `firewall_device_add` Event is generated when the Firewall Device is added successfully.
@@ -13404,8 +13413,7 @@ paths:
13404
13413
summary: Firewall Device View
13405
13414
description: |
13406
13415
Returns information for a Firewall Device, which assigns a Firewall
13407
-
to a Linode service (referred to as the Device's `entity`). Currently,
13408
-
only Devices with an entity of type `linode` are accepted.
13416
+
to a service (referred to as the Device's `entity`).
13409
13417
operationId: getFirewallDevice
13410
13418
x-linode-cli-action: device-view
13411
13419
security:
@@ -13444,10 +13452,10 @@ paths:
13444
13452
- oauth:
13445
13453
- firewall:read_write
13446
13454
description: |
13447
-
Removes a Firewall Device, which removes a Firewall from the Linode service it was
13448
-
assigned to by the Device. This will remove all of the Firewall's Rules from the Linode
13449
-
service. If any other Firewalls have been assigned to the Linode service, then those Rules
13450
-
will remain in effect.
13455
+
Removes a Firewall Device, which removes a Firewall from the service it was
13456
+
assigned to by the Device. This removes all of the Firewall's Rules from the
13457
+
service. If any other Firewalls have been assigned to the service, then those Rules
13458
+
remain in effect.
13451
13459
13452
13460
A `firewall_device_remove` Event is generated when the Firewall Device is removed successfully.
13453
13461
responses:
@@ -14701,15 +14709,15 @@ paths:
14701
14709
- NodeBalancers
14702
14710
summary: Firewalls List
14703
14711
description: >
14704
-
View Firewall information for Firewalls associated with this NodeBalancer.
14705
-
x-linode-cli-action: firewalls-list
14712
+
View information for Firewalls assigned to this NodeBalancer.
14713
+
x-linode-cli-action: firewalls
14706
14714
security:
14707
14715
- personalAccessToken: []
14708
14716
- oauth:
14709
14717
- nodebalancers:read_only
14710
14718
responses:
14711
14719
'200':
14712
-
description: Returns a paginated list of Firewalls associated with this NodeBalancer.
14720
+
description: Returns a paginated list of Firewalls assigned to this NodeBalancer.
A resource that controls incoming and outgoing network traffic to a Linode service. Only one Firewall can be attached to a Linode at any given time.
20841
+
A resource that controls incoming and outgoing network traffic to a compute service. Only one enabled Firewall can be attached to a particular service at any given time.
20834
20842
[Create a Firewall Device](/docs/api/networking/#firewall-create)
20835
-
to assign a Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode instances.
20843
+
to assign a Firewall to a service. Currently, Firewalls can assigned to Linode compute instances and NodeBalancers.
20836
20844
properties:
20837
20845
id:
20838
20846
x-linode-filterable: true
@@ -21015,8 +21023,8 @@ components:
21015
21023
FirewallDevices:
21016
21024
type: object
21017
21025
description: >
21018
-
Associates a Firewall with a Linode service. A Firewall can be assigned
21019
-
to a single Linode service at a time. Additional disabled Firewalls can be
21026
+
Associates a Firewall with a Linode or NodeBalancer service. A Firewall can be assigned
21027
+
to a single entity at a time. Additional disabled Firewalls can be
21020
21028
assigned to a service, but they cannot be enabled if another active Firewall
21021
21029
is already assigned to the same service.
21022
21030
properties:
@@ -21049,7 +21057,7 @@ components:
21049
21057
type: object
21050
21058
readOnly: true
21051
21059
description: >
21052
-
The Linode service that this Firewall has been applied to.
21060
+
The compute service that this Firewall has been applied to.
21053
21061
properties:
21054
21062
id:
21055
21063
description: The entity's ID
@@ -21060,6 +21068,7 @@ components:
21060
21068
type: string
21061
21069
enum:
21062
21070
- linode
21071
+
- nodebalancer
21063
21072
example: linode
21064
21073
label:
21065
21074
description: The entity's label.
@@ -21068,7 +21077,7 @@ components:
21068
21077
example: my-linode
21069
21078
url:
21070
21079
description: >
21071
-
The URL you can use to access this entity.
21080
+
The API URL path you can use to access this entity.
0 commit comments