@@ -7811,13 +7811,21 @@ paths:
7811
7811
x-linode-cli-command: firewalls
7812
7812
post:
7813
7813
x-linode-grant: read_write
7814
+ servers:
7815
+ - url: https://api.linode.com/v4beta
7814
7816
tags:
7815
7817
- Networking
7816
7818
summary: Create Firewall
7817
7819
description: >
7818
7820
Creates a Firewall to filter network traffic. Use the `rules` property to
7819
7821
create inbound and outbound access rules. A single Firewall can be applied to
7820
7822
Linode services by specifying them in the `devices` object.
7823
+
7824
+
7825
+ **Beta**: This endpoint is in beta. Please make sure to prepend all requests with
7826
+ `/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
7827
+ updates in the future. This notice will be removed when this endpoint is out of
7828
+ beta.
7821
7829
operationId: createFirewalls
7822
7830
x-linode-cli-action: create
7823
7831
security:
@@ -13195,7 +13203,7 @@ components:
13195
13203
* Must begin and end with an alphanumeric character.
13196
13204
* May only consist of alphanumeric characters, dashes (`-`), underscores (`_`) or periods (`.`).
13197
13205
* Cannot have two dashes (`--`), underscores (`__`) or periods (`..`) in a row.
13198
- example: " firewall123"
13206
+ example: firewall123
13199
13207
minLength: 3
13200
13208
maxLength: 32
13201
13209
pattern: '^[a-zA-Z]((?!--|__|..)[a-zA-Z0-9-_.])+$'
@@ -13215,10 +13223,10 @@ components:
13215
13223
description: >
13216
13224
The status of this Firewall service.
13217
13225
enum:
13218
- - " enabled"
13219
- - " disabled"
13220
- - " deleted"
13221
- example: " enabled"
13226
+ - enabled
13227
+ - disabled
13228
+ - deleted
13229
+ example: enabled
13222
13230
x-linode-cli-display: 3
13223
13231
rules:
13224
13232
type: object
@@ -13231,16 +13239,16 @@ components:
13231
13239
ports are allowed. If you open one outbound port or more, all
13232
13240
remaining outbound ports will be blocked.
13233
13241
properties:
13234
- inbound:
13235
- $ref: '#/components/schemas/FirewallRuleConfig'
13236
- outbound:
13237
- $ref: '#/components/schemas/FirewallRuleConfig'
13242
+ inbound:
13243
+ $ref: '#/components/schemas/FirewallRuleConfig'
13244
+ outbound:
13245
+ $ref: '#/components/schemas/FirewallRuleConfig'
13238
13246
required:
13239
13247
- inbound
13240
13248
tags:
13241
13249
x-linode-filterable: true
13242
13250
description: >
13243
- An array of tags applied to this object. Tags are for organizational
13251
+ An array of tags applied to this object. Tags are for organizational
13244
13252
purposes only.
13245
13253
type: array
13246
13254
items:
@@ -13269,32 +13277,30 @@ components:
13269
13277
This Firewall's access rules. To open traffic on a range of ports
13270
13278
specify a `start_port` and an `end_port`.
13271
13279
required:
13272
- - protocol
13273
- - start_port
13280
+ - protocol
13281
+ - start_port
13274
13282
properties:
13275
13283
protocol:
13276
13284
type: string
13277
13285
enum:
13278
- - " ALL"
13279
- - " TCP"
13280
- - " UDP"
13281
- - " ICMP"
13286
+ - ALL
13287
+ - TCP
13288
+ - UDP
13289
+ - ICMP
13282
13290
description: >
13283
13291
The type of network traffic to allow.
13284
- example: " TCP"
13292
+ example: TCP
13285
13293
start_port:
13286
13294
type: integer
13287
13295
description: >
13288
13296
The port on which traffic will be allowed. Must be a value of `1-65535`.
13289
- example:
13290
- - 20
13297
+ example: 20
13291
13298
end_port:
13292
13299
type: integer
13293
13300
description: >
13294
13301
The end port for a range of ports on which traffic will be allowed. This port must be greater than or equal to the `start_port`
13295
13302
and must be a value of `1-65535`.
13296
- example:
13297
- - 22
13303
+ example: 22
13298
13304
addresses:
13299
13305
type: object
13300
13306
description: >
@@ -13306,15 +13312,14 @@ components:
13306
13312
items:
13307
13313
type: string
13308
13314
example:
13309
- - "192.0.2.1"
13310
- - "192.0.2.0/24"
13315
+ - "192.0.2.1"
13316
+ - "192.0.2.0/24"
13311
13317
ipv6:
13312
13318
description: A list of IPv6 addresses or networks.
13313
13319
type: array
13314
13320
items:
13315
13321
type: string
13316
- example:
13317
- - "2001:DB8::/32"
13322
+ example: "2001:DB8::/32"
13318
13323
Grant:
13319
13324
type: object
13320
13325
description: >
0 commit comments