Skip to content

Commit f29d146

Browse files
hzoppettileslitagordita
authored andcommitted
added beta server and indents
1 parent 1251b1a commit f29d146

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

openapi.yaml

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7811,13 +7811,21 @@ paths:
78117811
x-linode-cli-command: firewalls
78127812
post:
78137813
x-linode-grant: read_write
7814+
servers:
7815+
- url: https://api.linode.com/v4beta
78147816
tags:
78157817
- Networking
78167818
summary: Create Firewall
78177819
description: >
78187820
Creates a Firewall to filter network traffic. Use the `rules` property to
78197821
create inbound and outbound access rules. A single Firewall can be applied to
78207822
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.
78217829
operationId: createFirewalls
78227830
x-linode-cli-action: create
78237831
security:
@@ -13195,7 +13203,7 @@ components:
1319513203
* Must begin and end with an alphanumeric character.
1319613204
* May only consist of alphanumeric characters, dashes (`-`), underscores (`_`) or periods (`.`).
1319713205
* Cannot have two dashes (`--`), underscores (`__`) or periods (`..`) in a row.
13198-
example: "firewall123"
13206+
example: firewall123
1319913207
minLength: 3
1320013208
maxLength: 32
1320113209
pattern: '^[a-zA-Z]((?!--|__|..)[a-zA-Z0-9-_.])+$'
@@ -13215,10 +13223,10 @@ components:
1321513223
description: >
1321613224
The status of this Firewall service.
1321713225
enum:
13218-
- "enabled"
13219-
- "disabled"
13220-
- "deleted"
13221-
example: "enabled"
13226+
- enabled
13227+
- disabled
13228+
- deleted
13229+
example: enabled
1322213230
x-linode-cli-display: 3
1322313231
rules:
1322413232
type: object
@@ -13231,16 +13239,16 @@ components:
1323113239
ports are allowed. If you open one outbound port or more, all
1323213240
remaining outbound ports will be blocked.
1323313241
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'
1323813246
required:
1323913247
- inbound
1324013248
tags:
1324113249
x-linode-filterable: true
1324213250
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
1324413252
purposes only.
1324513253
type: array
1324613254
items:
@@ -13269,32 +13277,30 @@ components:
1326913277
This Firewall's access rules. To open traffic on a range of ports
1327013278
specify a `start_port` and an `end_port`.
1327113279
required:
13272-
- protocol
13273-
- start_port
13280+
- protocol
13281+
- start_port
1327413282
properties:
1327513283
protocol:
1327613284
type: string
1327713285
enum:
13278-
- "ALL"
13279-
- "TCP"
13280-
- "UDP"
13281-
- "ICMP"
13286+
- ALL
13287+
- TCP
13288+
- UDP
13289+
- ICMP
1328213290
description: >
1328313291
The type of network traffic to allow.
13284-
example: "TCP"
13292+
example: TCP
1328513293
start_port:
1328613294
type: integer
1328713295
description: >
1328813296
The port on which traffic will be allowed. Must be a value of `1-65535`.
13289-
example:
13290-
- 20
13297+
example: 20
1329113298
end_port:
1329213299
type: integer
1329313300
description: >
1329413301
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`
1329513302
and must be a value of `1-65535`.
13296-
example:
13297-
- 22
13303+
example: 22
1329813304
addresses:
1329913305
type: object
1330013306
description: >
@@ -13306,15 +13312,14 @@ components:
1330613312
items:
1330713313
type: string
1330813314
example:
13309-
- "192.0.2.1"
13310-
- "192.0.2.0/24"
13315+
- "192.0.2.1"
13316+
- "192.0.2.0/24"
1331113317
ipv6:
1331213318
description: A list of IPv6 addresses or networks.
1331313319
type: array
1331413320
items:
1331513321
type: string
13316-
example:
13317-
- "2001:DB8::/32"
13322+
example: "2001:DB8::/32"
1331813323
Grant:
1331913324
type: object
1332013325
description: >

0 commit comments

Comments
 (0)