File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -5133,6 +5133,59 @@ paths:
51335133 source: >
51345134 linode-cli linodes disk-resize 123 25674 \
51355135 --size 2048
5136+ /linode/instances/{linodeId}/firewalls:
5137+ parameters:
5138+ - name: linodeId
5139+ in: path
5140+ description: ID of the Linode to look up.
5141+ required: true
5142+ schema:
5143+ type: integer
5144+ x-linode-cli-command: linodes
5145+ get:
5146+ x-linode-grant: read_only
5147+ parameters:
5148+ - $ref: '#/components/parameters/pageOffset'
5149+ - $ref: '#/components/parameters/pageSize'
5150+ tags:
5151+ - Linode Instances
5152+ summary: Firewalls List
5153+ description: >
5154+ View Firewall information for Firewalls associated with this Linode.
5155+ operationId: getLinodeFirewalls
5156+ x-linode-cli-action: firewalls-list
5157+ security:
5158+ - personalAccessToken: []
5159+ - oauth:
5160+ - linodes:read_only
5161+ responses:
5162+ '200':
5163+ description: Returns a paginated list of Firewalls associated with this Linode.
5164+ content:
5165+ application/json:
5166+ schema:
5167+ type: object
5168+ properties:
5169+ data:
5170+ type: array
5171+ items:
5172+ $ref: '#/components/schemas/Firewall'
5173+ page:
5174+ $ref: '#/components/schemas/PaginationEnvelope/properties/page'
5175+ pages:
5176+ $ref: '#/components/schemas/PaginationEnvelope/properties/pages'
5177+ results:
5178+ $ref: '#/components/schemas/PaginationEnvelope/properties/results'
5179+ default:
5180+ $ref: '#/components/responses/ErrorResponse'
5181+ x-code-samples:
5182+ - lang: Shell
5183+ source: >
5184+ curl -H "Authorization: Bearer $TOKEN" \
5185+ https://api.linode.com/v4/linode/instances/123/firewalls
5186+ - lang: CLI
5187+ source: >
5188+ linode-cli linodes firewalls-list 123
51365189 /linode/instances/{linodeId}/ips:
51375190 parameters:
51385191 - name: linodeId
You can’t perform that action at this time.
0 commit comments