post https://api.linode.com//nodebalancers//configs//rebuild
Rebuilds a NodeBalancer Config and its Nodes that you have permission to modify.
Use this operation to update a NodeBalancer's Config and Nodes with a single request.
linode-cli nodebalancers config-rebuild \
12345 4567 \
--port 443 \
--protocol https \
--algorithm roundrobin \
--stickiness http_cookie \
--check http_body \
--check_interval 90 \
--check_timeout 10 \
--check_attempts 3 \
--check_path "/test" \
--check_body "it works" \
--check_passive true \
--proxy_protocol "none" \
--ssl_cert "-----BEGIN CERTIFICATE-----
CERTIFICATE_INFORMATION
-----END CERTIFICATE-----" \
--ssl_key "-----BEGIN PRIVATE KEY-----
PRIVATE_KEY_INFORMATION
-----END PRIVATE KEY-----" \
--cipher_suite recommended \
--nodes.label "node1" --nodes.address "192.168.210.120:80" --nodes.mode "accept" --nodes.weight 50 \
--nodes '[{"address":"192.168.210.122:80","label":"node2","weight":50,"mode":"accept"}]'
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
linode-cli nodebalancers config-rebuild \
12345 4567 \
--port 80 \
--protocol tcp \
--algorithm roundrobin \
--stickiness none \
--proxy_protocol "v2"
--nodes.label "node1" --nodes.address "192.168.210.120:80" --nodes.mode "accept" --nodes.weight 50 \
--nodes '[{"address":"192.168.210.122:80","label":"node2","weight":50,"mode":"accept"}]'
<https://www.linode.com/docs/products/tools/cli/get-started/>
linode-cli nodebalancers config-rebuild \
12345 4567 \
--port 440 \
--protocol http \
--algorithm roundrobin \
--stickiness none \
--check http_body \
--check_interval 90 \
--check_timeout 10 \
--check_attempts 3 \
--check_path "/test" \
--check_body "it works" \
--nodes.label "node1" --nodes.address "192.168.210.120:80" --nodes.mode "accept" --nodes.weight 50 \
--nodes '[{"address":"192.168.210.122:80","label":"node2","weight":50,"mode":"accept"}]'
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
nodebalancers:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>