configs_nodes
Overview
Name | configs_nodes |
Type | Resource |
Id | linode.nodebalancers.configs_nodes |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | This node's unique ID. |
address | string | The private IP Address where this backend can be reached. This must be a private IP address. |
config_id | integer | The NodeBalancer Config ID that this Node belongs to. |
label | string | The label for this node. This is for display purposes only. |
mode | string | 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 alreadypinned to it will continue to be routed to it. If set to backup , this backend will only receive traffic if all accept nodesare down. |
nodebalancer_id | integer | The NodeBalancer ID that this Node belongs to. |
status | string | The current status of this node, based on the configured checks of its NodeBalancer Config. |
weight | integer | 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. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getNodeBalancerConfigNodes | SELECT | configId, nodeBalancerId | Returns a paginated list of NodeBalancer nodes associated with this Config. These are the backends that will be sent traffic for this port. |
getNodeBalancerNode | SELECT | configId, nodeBalancerId, nodeId | Returns information about a single Node, a backend for this NodeBalancer's configured port. |
createNodeBalancerNode | INSERT | configId, nodeBalancerId, data__address, data__label | Creates a NodeBalancer Node, a backend that can accept traffic for this NodeBalancer Config. Nodes are routed requests on the configured port based on their status. |
deleteNodeBalancerConfigNode | DELETE | configId, nodeBalancerId, nodeId | Deletes a Node from this Config. This backend will no longer receive traffic for the configured port of this NodeBalancer. This does not change or remove the Linode whose address was used in the creation of this Node. |
_getNodeBalancerConfigNodes | EXEC | configId, nodeBalancerId | Returns a paginated list of NodeBalancer nodes associated with this Config. These are the backends that will be sent traffic for this port. |
_getNodeBalancerNode | EXEC | configId, nodeBalancerId, nodeId | Returns information about a single Node, a backend for this NodeBalancer's configured port. |
updateNodeBalancerNode | EXEC | configId, nodeBalancerId, nodeId | Updates information about a Node, a backend for this NodeBalancer's configured port. |