@akamai/openapi-ts
    Preparing search index...

    Function postNodeBalancerConfig

    • Create a config

      Creates a NodeBalancer configuration, which allows the NodeBalancer to accept traffic on a new port. You will need to add NodeBalancer nodes to the new configuration before it can actually serve requests.

      🚧

      You can configure UDP on the same NodeBalancer that also uses TCP, HTTP, or HTTPS, but only when managing it through the API. If UDP is configured and you make changes to the TCP, HTTP or HTTPS settings in Cloud Manager, the existing UDP configuration will be overwritten. This is because Cloud Manager doesn't currently support UDP.

      <>


      • CLI: HTTPS.
      linode-cli nodebalancers config-create 12345 \
      --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

      Learn more...

      • CLI: UDP.
      linode-cli nodebalancers config-create 12345 \
      --port 80 \
      --protocol udp \
      --algorithm ring_hash \
      --stickiness session \
      --check http_body \
      --check_interval 90 \
      --check_timeout 10 \
      --check_attempts 3 \
      --check_path "/test" \
      --check_body "it works" \
      --udp_check_port 80

      Learn more...

      • CLI: TCP.
      linode-cli nodebalancers config-create 12345 \
      --port 80 \
      --protocol tcp \
      --algorithm roundrobin \
      --stickiness none \
      --check http_body \
      --check_interval 90 \
      --check_timeout 10 \
      --check_attempts 3 \
      --check_path "/test" \
      --check_body "it works" \
      --proxy_protocol "v2"

      Learn more...

      • CLI: HTTP.
      linode-cli nodebalancers config-create 12345 \
      --port 440 \
      --protocol http \
      --algorithm roundrobin \
      --stickiness http_cookie \
      --check http_body \
      --check_interval 90 \
      --check_timeout 10 \
      --check_attempts 3 \
      --check_path "/test" \
      --check_body "it works"

      Learn more...

      • OAuth scopes.
      nodebalancers:read_write
      

      Learn more...

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          PostNodeBalancerConfigResponses,
          PostNodeBalancerConfigErrors,
          ThrowOnError,
          "data",
      >