Skip to content

Commit 258b4f1

Browse files
committed
[New] Linode NodeBalancers View
1 parent 83a942f commit 258b4f1

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

openapi.yaml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4175,7 +4175,7 @@ paths:
41754175
A Backup ID from another Linode's available backups. Your User must have
41764176
`read_write` access to that Linode, the Backup must have a `status` of
41774177
`successful`, and the Linode must be deployed to the same `region` as the Backup.
4178-
See [/linode/instances/{linodeId}/backups](/docs/api/linode-instances/#backups-list)
4178+
See [GET /linode/instances/{linodeId}/backups](/docs/api/linode-instances/#backups-list)
41794179
for a Linode's available backups.
41804180

41814181
This field and the `image` field are mutually exclusive.
@@ -6356,6 +6356,53 @@ paths:
63566356
- lang: CLI
63576357
source: >
63586358
linode-cli linodes upgrade 123
6359+
/linode/instances/{linodeId}/nodebalancers:
6360+
parameters:
6361+
- name: linodeId
6362+
in: path
6363+
description: ID of the Linode to look up
6364+
required: true
6365+
schema:
6366+
type: integer
6367+
x-linode-cli-command: linodes
6368+
get:
6369+
x-linode-grant: read_only
6370+
tags:
6371+
- Linode Instances
6372+
summary: Linode NodeBalancers View
6373+
description: Returns a list of NodeBalancers that are assigned to this Linode.
6374+
operationId: getLinodeNodeBalancers
6375+
x-linode-cli-action: nodebalancers
6376+
security:
6377+
- personalAccessToken: []
6378+
- oauth:
6379+
- linodes:read_only
6380+
responses:
6381+
'200':
6382+
description: Returns a paginated list of NodeBalancers.
6383+
content:
6384+
application/json:
6385+
schema:
6386+
type: object
6387+
properties:
6388+
data:
6389+
type: array
6390+
items:
6391+
$ref: '#/components/schemas/NodeBalancer'
6392+
page:
6393+
$ref: '#/components/schemas/PaginationEnvelope/properties/page'
6394+
pages:
6395+
$ref: '#/components/schemas/PaginationEnvelope/properties/pages'
6396+
results:
6397+
$ref: '#/components/schemas/PaginationEnvelope/properties/results'
6398+
x-code-samples:
6399+
- lang: Shell
6400+
source: >
6401+
curl -H "Authorization: Bearer $TOKEN" \
6402+
https://api.linode.com/v4/linode/instances/123/nodebalancers
6403+
- lang: CLI
6404+
source: >
6405+
linode-cli linodes nodebalancers 123
63596406
/linode/instances/{linodeId}/password:
63606407
parameters:
63616408
- name: linodeId

0 commit comments

Comments
 (0)