1
1
openapi: 3.0.1
2
2
info:
3
- version: 4.86.0
3
+ version: 4.86.1
4
4
5
5
title: Linode API
6
6
description: |
@@ -11222,7 +11222,7 @@ paths:
11222
11222
Rebuilds a NodeBalancer Config and its Nodes that you have
11223
11223
permission to modify.
11224
11224
operationId: rebuildNodeBalancerConfig
11225
- x-linode-cli-action: rebuild
11225
+ x-linode-cli-action: config- rebuild
11226
11226
security:
11227
11227
- personalAccessToken: []
11228
11228
- oauth:
@@ -11234,33 +11234,22 @@ paths:
11234
11234
content:
11235
11235
application/json:
11236
11236
schema:
11237
- properties:
11238
- configs:
11239
- type: array
11240
- description: >
11241
- Each config must have a unique port and at least one Node. Additionally:
11242
- * Current Nodes excluded from the request body will be deleted.
11243
- * Current Nodes (identified by their ID) will be updated.
11244
- * New Nodes (included without an ID) will be created.
11245
- items:
11246
- allOf:
11247
- - $ref: '#/components/schemas/NodeBalancerConfig'
11248
- - type: object
11249
- properties:
11250
- nodes:
11251
- type: array
11252
- description: >
11253
- The NodeBalancer Node(s) that serve this port.
11254
- At least one Node is required per configured port.
11237
+ allOf:
11238
+ - $ref: "#/components/schemas/NodeBalancerConfig"
11239
+ - type: object
11240
+ properties:
11241
+ nodes:
11242
+ type: array
11243
+ description: |
11244
+ The NodeBalancer Node(s) that serve this port.
11245
+ At least one Node is required per configured port.
11255
11246
11256
- Some considerations for Nodes when rebuilding a config:
11257
- * Current Nodes excluded from the request body will be deleted.
11258
- * Current Nodes (identified by their ID) will be updated.
11259
- * New Nodes (included without an ID) will be created.
11260
- items:
11261
- type: object
11262
- allOf:
11263
- - $ref: '#/components/schemas/NodeBalancerNode'
11247
+ Some considerations for Nodes when rebuilding a config:
11248
+ * Current Nodes excluded from the request body will be deleted.
11249
+ * Current Nodes (identified by their ID) will be updated.
11250
+ * New Nodes (included without an ID) will be created.
11251
+ items:
11252
+ $ref: '#/components/schemas/NodeBalancerNode'
11264
11253
responses:
11265
11254
'200':
11266
11255
description: NodeBalancer created successfully.
@@ -11291,15 +11280,14 @@ paths:
11291
11280
"cipher_suite": "recommended",
11292
11281
"nodes": [
11293
11282
{
11294
- "id": 543231,
11295
11283
"address": "192.168.210.120:80",
11296
- "label": "node54321 ",
11284
+ "label": "node1 ",
11297
11285
"weight": 50,
11298
11286
"mode": "accept"
11299
11287
},
11300
11288
{
11301
11289
"address": "192.168.210.122:81",
11302
- "label": "thenewnode ",
11290
+ "label": "node2 ",
11303
11291
"weight": 50,
11304
11292
"mode": "accept"
11305
11293
},
@@ -11322,7 +11310,9 @@ paths:
11322
11310
--check_body "it works" \
11323
11311
--check_passive true \
11324
11312
--proxy_protocol "v1" \
11325
- --cipher_suite recommended
11313
+ --cipher_suite recommended \
11314
+ --nodes '{"address":"192.168.210.120:80","label":"node1","weight":50,"mode":"accept"}' \
11315
+ --nodes '{"address":"192.168.210.122:80","label":"node2","weight":50,"mode":"accept"}'
11326
11316
/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes:
11327
11317
parameters:
11328
11318
- name: nodeBalancerId
0 commit comments