Skip to content

Commit a03d80d

Browse files
Add GET /networking/firewalls/{firewallId}
1 parent 6376f47 commit a03d80d

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

openapi.yaml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7875,6 +7875,47 @@ paths:
78757875
- lang: CLI
78767876
source: >
78777877
linode-cli firewalls create
7878+
/networking/firewalls/{firewallId}:
7879+
parameters:
7880+
- name: firewallId
7881+
in: path
7882+
description: ID of the Firewall to look up
7883+
required: true
7884+
schema:
7885+
type: integer
7886+
x-linode-cli-command: firewalls
7887+
get:
7888+
x-linode-grant: read_only
7889+
servers:
7890+
- url: https://api.linode.com/v4beta
7891+
tags:
7892+
- Networking
7893+
summary: View Firewall
7894+
operationId: getFirewall
7895+
x-linode-cli-action: view
7896+
security:
7897+
- personalAccessToken: []
7898+
- oauth:
7899+
- firewall:read_only
7900+
description: Get a specific Firewall resource by its ID.
7901+
responses:
7902+
'200':
7903+
description: Returns information about this Firewall.
7904+
content:
7905+
application/json:
7906+
schema:
7907+
$ref: '#/components/schemas/Firewall'
7908+
default:
7909+
$ref: '#/components/responses/ErrorResponse'
7910+
x-code-samples:
7911+
- lang: Shell
7912+
source: >
7913+
curl -H "Content-Type: application/json" \
7914+
-H "Authorization: Bearer $TOKEN" \
7915+
https://api.linode.com/v4beta/firewalls/123
7916+
- lang: CLI
7917+
source: >
7918+
linode-cli firewalls view 123
78787919
/nodebalancers:
78797920
x-linode-cli-command: nodebalancers
78807921
get:
@@ -13217,6 +13258,15 @@ components:
1321713258
When this Firewall was created.
1321813259
example: '2018-01-01T00:01:01'
1321913260
x-linode-cli-display: 4
13261+
updated:
13262+
x-linode-filterable: true
13263+
type: string
13264+
format: date-time
13265+
readOnly: true
13266+
description: >
13267+
When this Firewall was last updated.
13268+
example: '2018-01-02T00:01:01'
13269+
x-linode-cli-display: 5
1322013270
status:
1322113271
type: string
1322213272
readOnly: true
@@ -13270,7 +13320,7 @@ components:
1327013320
example:
1327113321
- 123
1327213322
- 456
13273-
x-linode-cli-display: 5
13323+
x-linode-cli-display: 6
1327413324
FirewallRuleConfig:
1327513325
type: object
1327613326
description: >

0 commit comments

Comments
 (0)