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

    Type Alias PostNodeBalancerNodeData

    type PostNodeBalancerNodeData = {
        body:
            | {
                address?: string;
                config_id?: number;
                id?: number;
                label?: string;
                mode?: "none";
                nodebalancer_id?: number;
                status?: "unknown"
                | "UP"
                | "DOWN";
                subnet_id?: number;
                weight?: number;
            }
            | {
                address?: string;
                config_id?: number;
                id?: number;
                label?: string;
                mode?: "accept"
                | "reject"
                | "drain"
                | "backup";
                nodebalancer_id?: number;
                status?: "unknown" | "UP" | "DOWN";
                subnet_id?: number;
                weight?: number;
            };
        path: { configId: number; nodeBalancerId: number };
        query?: never;
        url: "nodebalancers/{nodeBalancerId}/configs/{configId}/nodes";
    }
    Index

    Properties

    Properties

    body:
        | {
            address?: string;
            config_id?: number;
            id?: number;
            label?: string;
            mode?: "none";
            nodebalancer_id?: number;
            status?: "unknown"
            | "UP"
            | "DOWN";
            subnet_id?: number;
            weight?: number;
        }
        | {
            address?: string;
            config_id?: number;
            id?: number;
            label?: string;
            mode?: "accept"
            | "reject"
            | "drain"
            | "backup";
            nodebalancer_id?: number;
            status?: "unknown" | "UP" | "DOWN";
            subnet_id?: number;
            weight?: number;
        }

    A NodeBalancer node represents a single backend serving requests for a single port of a NodeBalancer. Nodes are tied to individual NodeBalancer configurations and route traffic over their private IPv4 address, IPv6 address, or VPC IPv4 address. If the same Linode is serving traffic for more than one port on the same NodeBalancer, one NodeBalancer node is required for each config (port) it should serve requests on. For example, if you have four backends, and each should respond to both HTTP and HTTPS requests, you will need two NodeBalancer configs (port 80 and port 443) and four backends each, one for each of the Linodes serving requests for that port.

    Type Declaration

    • {
          address?: string;
          config_id?: number;
          id?: number;
          label?: string;
          mode?: "none";
          nodebalancer_id?: number;
          status?: "unknown" | "UP" | "DOWN";
          subnet_id?: number;
          weight?: number;
      }
      • Optionaladdress?: string

        Backend nodes can be Linodes and Linodes within a VPC. The following IP types are supported:

        • For non-VPC backend nodes, the private IPv4 address and port where this backend can be reached.
        • For non-VPC backend nodes, the public IPv6 address and port where this backend can be reached.
        • For backend nodes within a VPC, the IPv4 address and port where this backend can be reached.
      • Optional Readonlyconfig_id?: number

        Read-only The NodeBalancer Config ID that this Node belongs to.

      • Optional Readonlyid?: number

        Read-only This node's unique ID.

      • Optionallabel?: string

        The label for this node. This is for display purposes only.

      • Optionalmode?: "none"

        Read-only The mode this NodeBalancer should use when sending traffic to this backend. For backend nodes with a UDP config, the mode doesn't apply, so the value is none.

      • Optional Readonlynodebalancer_id?: number

        Read-only The NodeBalancer ID that this Node belongs to.

      • Optionalstatus?: "unknown" | "UP" | "DOWN"

        Read-only The current status of this node, based on the configured checks of its NodeBalancer config.

      • Optionalsubnet_id?: number

        Required for VPC backend nodes only. The VPC's subnet. To display information about your VPCs and their subnets, run the List VPCs operation.

      • Optionalweight?: number

        Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic.

    • {
          address?: string;
          config_id?: number;
          id?: number;
          label?: string;
          mode?: "accept" | "reject" | "drain" | "backup";
          nodebalancer_id?: number;
          status?: "unknown" | "UP" | "DOWN";
          subnet_id?: number;
          weight?: number;
      }
      • Optionaladdress?: string

        Backend nodes can be Linodes and Linodes within a VPC. The following IP types are supported:

        • For non-VPC backend nodes, the private IPv4 address and port where this backend can be reached.
        • For non-VPC backend nodes, the public IPv6 address and port where this backend can be reached.
        • For backend nodes within a VPC, the IPv4 address and port where this backend can be reached.
      • Optional Readonlyconfig_id?: number

        Read-only The NodeBalancer Config ID that this Node belongs to.

      • Optional Readonlyid?: number

        Read-only This node's unique ID.

      • Optionallabel?: string

        The label for this node. This is for display purposes only.

      • Optionalmode?: "accept" | "reject" | "drain" | "backup"

        The mode this NodeBalancer should use when sending traffic to this backend.

        • If set to accept this backend is accepting traffic.
        • If set to reject this backend will not receive traffic.
        • If set to drain this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it.
        • If set to backup, this backend will only receive traffic if all accept nodes are down.
      • Optional Readonlynodebalancer_id?: number

        Read-only The NodeBalancer ID that this Node belongs to.

      • Optionalstatus?: "unknown" | "UP" | "DOWN"

        Read-only The current status of this node, based on the configured checks of its NodeBalancer Config.

      • Optionalsubnet_id?: number

        Required for VPC backend nodes only. The VPC's subnet. To display information about your VPCs and their subnets, run the List VPCs operation.

      • Optionalweight?: number

        Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic.

    path: { configId: number; nodeBalancerId: number }

    Type Declaration

    • configId: number

      The ID of the NodeBalancer config to access.

    • nodeBalancerId: number

      The ID of the NodeBalancer.

    query?: never
    url: "nodebalancers/{nodeBalancerId}/configs/{configId}/nodes"