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
+85-38Lines changed: 85 additions & 38 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,17 @@ paths:
13010
13012
example:
13011
13013
- 123
13012
13014
- 456
13015
+
nodebalancers:
13016
+
description: |
13017
+
An array containing a NodeBalancer ID. A Firewall Device is created for the ID.
13018
+
13019
+
* Only one NodeBalancer can be assigned to a Firewall at a time.
13020
+
* Firewalls only apply to inbound TCP traffic to NodeBalancers.
13021
+
type: array
13022
+
items:
13023
+
type: integer
13024
+
example:
13025
+
- 321
13013
13026
rules:
13014
13027
required:
13015
13028
- inbound_policy
@@ -13081,8 +13094,12 @@ paths:
13081
13094
},
13082
13095
"devices": {
13083
13096
"linodes": [
13084
-
123
13085
-
]
13097
+
123,
13098
+
456
13099
+
],
13100
+
"nodebalancers": [
13101
+
321
13102
+
]
13086
13103
},
13087
13104
"tags": [
13088
13105
"example tag",
@@ -13158,7 +13175,7 @@ paths:
13158
13175
- A Firewall's Devices cannot be set with this endpoint. Instead, use the
Creates a Firewall Device, which assigns a Firewall to a service (referred to
13331
13369
as the Device's `entity`) and applies the Firewall's Rules to the device.
13332
13370
13333
-
* Currently, only Devices with an entity of type `linode` are accepted.
13371
+
* Currently, Devices with `linode` and `nodebalancer` entity types are accepted.
13372
+
13373
+
* Firewalls only apply to inbound TCP traffic to NodeBalancers.
13334
13374
13335
-
* A Firewall can be assigned to multiple Linode instances at a time.
13375
+
* A Firewall can be assigned to multiple services at a time.
13336
13376
13337
-
* A Linode instance can have one active, assigned Firewall at a time.
13377
+
* A service can have one active, assigned Firewall at a time.
13338
13378
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
13379
13340
13380
* A `firewall_device_add` Event is generated when the Firewall Device is added successfully.
@@ -13404,8 +13444,7 @@ paths:
13404
13444
summary: Firewall Device View
13405
13445
description: |
13406
13446
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.
13447
+
to a service (referred to as the Device's `entity`).
13409
13448
operationId: getFirewallDevice
13410
13449
x-linode-cli-action: device-view
13411
13450
security:
@@ -13444,10 +13483,10 @@ paths:
13444
13483
- oauth:
13445
13484
- firewall:read_write
13446
13485
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.
13486
+
Removes a Firewall Device, which removes a Firewall from the service it was
13487
+
assigned to by the Device. This removes all of the Firewall's Rules from the
13488
+
service. If any other Firewalls have been assigned to the service, then those Rules
13489
+
remain in effect.
13451
13490
13452
13491
A `firewall_device_remove` Event is generated when the Firewall Device is removed successfully.
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.
20879
+
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
20880
[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.
20881
+
to assign a Firewall to a service. Currently, Firewalls can assigned to Linode compute instances and NodeBalancers.
20836
20882
properties:
20837
20883
id:
20838
20884
x-linode-filterable: true
@@ -21015,8 +21061,8 @@ components:
21015
21061
FirewallDevices:
21016
21062
type: object
21017
21063
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
21064
+
Associates a Firewall with a Linode or NodeBalancer service. A Firewall can be assigned
21065
+
to a single entity at a time. Additional disabled Firewalls can be
21020
21066
assigned to a service, but they cannot be enabled if another active Firewall
21021
21067
is already assigned to the same service.
21022
21068
properties:
@@ -21049,7 +21095,7 @@ components:
21049
21095
type: object
21050
21096
readOnly: true
21051
21097
description: >
21052
-
The Linode service that this Firewall has been applied to.
21098
+
The compute service that this Firewall has been applied to.
21053
21099
properties:
21054
21100
id:
21055
21101
description: The entity's ID
@@ -21060,6 +21106,7 @@ components:
21060
21106
type: string
21061
21107
enum:
21062
21108
- linode
21109
+
- nodebalancer
21063
21110
example: linode
21064
21111
label:
21065
21112
description: The entity's label.
@@ -21068,7 +21115,7 @@ components:
21068
21115
example: my-linode
21069
21116
url:
21070
21117
description: >
21071
-
The URL you can use to access this entity.
21118
+
The API URL path you can use to access this entity.
0 commit comments