1. Packages
  2. Linode Provider
  3. API Docs
  4. getNodeBalancer
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
linode logo
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Provides details about a Linode NodeBalancer.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var my_nodebalancer = Linode.GetNodeBalancer.Invoke(new()
        {
            Id = 123,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.LookupNodeBalancer(ctx, &linode.LookupNodeBalancerArgs{
    			Id: 123,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetNodeBalancerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var my-nodebalancer = LinodeFunctions.getNodeBalancer(GetNodeBalancerArgs.builder()
                .id(123)
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const my-nodebalancer = linode.getNodeBalancer({
        id: 123,
    });
    
    import pulumi
    import pulumi_linode as linode
    
    my_nodebalancer = linode.get_node_balancer(id=123)
    
    variables:
      my-nodebalancer:
        fn::invoke:
          Function: linode:getNodeBalancer
          Arguments:
            id: 123
    

    Using getNodeBalancer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNodeBalancer(args: GetNodeBalancerArgs, opts?: InvokeOptions): Promise<GetNodeBalancerResult>
    function getNodeBalancerOutput(args: GetNodeBalancerOutputArgs, opts?: InvokeOptions): Output<GetNodeBalancerResult>
    def get_node_balancer(id: Optional[int] = None,
                          opts: Optional[InvokeOptions] = None) -> GetNodeBalancerResult
    def get_node_balancer_output(id: Optional[pulumi.Input[int]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetNodeBalancerResult]
    func LookupNodeBalancer(ctx *Context, args *LookupNodeBalancerArgs, opts ...InvokeOption) (*LookupNodeBalancerResult, error)
    func LookupNodeBalancerOutput(ctx *Context, args *LookupNodeBalancerOutputArgs, opts ...InvokeOption) LookupNodeBalancerResultOutput

    > Note: This function is named LookupNodeBalancer in the Go SDK.

    public static class GetNodeBalancer 
    {
        public static Task<GetNodeBalancerResult> InvokeAsync(GetNodeBalancerArgs args, InvokeOptions? opts = null)
        public static Output<GetNodeBalancerResult> Invoke(GetNodeBalancerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNodeBalancerResult> getNodeBalancer(GetNodeBalancerArgs args, InvokeOptions options)
    public static Output<GetNodeBalancerResult> getNodeBalancer(GetNodeBalancerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: linode:index/getNodeBalancer:getNodeBalancer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id int
    The NodeBalancer's ID.
    Id int
    The NodeBalancer's ID.
    id Integer
    The NodeBalancer's ID.
    id number
    The NodeBalancer's ID.
    id int
    The NodeBalancer's ID.
    id Number
    The NodeBalancer's ID.

    getNodeBalancer Result

    The following output properties are available:

    ClientConnThrottle int
    Throttle connections per second (0-20).
    Created string
    Hostname string
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    Id int
    Ipv4 string
    The Public IPv4 Address of this NodeBalancer
    Ipv6 string
    The Public IPv6 Address of this NodeBalancer
    Label string
    The label of the Linode NodeBalancer
    Region string
    Tags List<string>
    A list of tags applied to this object. Tags are for organizational purposes only.
    Transfers List<GetNodeBalancerTransfer>
    Updated string
    ClientConnThrottle int
    Throttle connections per second (0-20).
    Created string
    Hostname string
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    Id int
    Ipv4 string
    The Public IPv4 Address of this NodeBalancer
    Ipv6 string
    The Public IPv6 Address of this NodeBalancer
    Label string
    The label of the Linode NodeBalancer
    Region string
    Tags []string
    A list of tags applied to this object. Tags are for organizational purposes only.
    Transfers []GetNodeBalancerTransfer
    Updated string
    clientConnThrottle Integer
    Throttle connections per second (0-20).
    created String
    hostname String
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    id Integer
    ipv4 String
    The Public IPv4 Address of this NodeBalancer
    ipv6 String
    The Public IPv6 Address of this NodeBalancer
    label String
    The label of the Linode NodeBalancer
    region String
    tags List<String>
    A list of tags applied to this object. Tags are for organizational purposes only.
    transfers List<GetNodeBalancerTransfer>
    updated String
    clientConnThrottle number
    Throttle connections per second (0-20).
    created string
    hostname string
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    id number
    ipv4 string
    The Public IPv4 Address of this NodeBalancer
    ipv6 string
    The Public IPv6 Address of this NodeBalancer
    label string
    The label of the Linode NodeBalancer
    region string
    tags string[]
    A list of tags applied to this object. Tags are for organizational purposes only.
    transfers GetNodeBalancerTransfer[]
    updated string
    client_conn_throttle int
    Throttle connections per second (0-20).
    created str
    hostname str
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    id int
    ipv4 str
    The Public IPv4 Address of this NodeBalancer
    ipv6 str
    The Public IPv6 Address of this NodeBalancer
    label str
    The label of the Linode NodeBalancer
    region str
    tags Sequence[str]
    A list of tags applied to this object. Tags are for organizational purposes only.
    transfers Sequence[GetNodeBalancerTransfer]
    updated str
    clientConnThrottle Number
    Throttle connections per second (0-20).
    created String
    hostname String
    This NodeBalancer's hostname, ending with .nodebalancer.linode.com
    id Number
    ipv4 String
    The Public IPv4 Address of this NodeBalancer
    ipv6 String
    The Public IPv6 Address of this NodeBalancer
    label String
    The label of the Linode NodeBalancer
    region String
    tags List<String>
    A list of tags applied to this object. Tags are for organizational purposes only.
    transfers List<Property Map>
    updated String

    Supporting Types

    GetNodeBalancerTransfer

    In double
    The total transfer, in MB, used by this NodeBalancer for the current month
    Out double
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    Total double
    The total outbound transfer, in MB, used for this NodeBalancer for the current month
    In float64
    The total transfer, in MB, used by this NodeBalancer for the current month
    Out float64
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    Total float64
    The total outbound transfer, in MB, used for this NodeBalancer for the current month
    in Double
    The total transfer, in MB, used by this NodeBalancer for the current month
    out Double
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    total Double
    The total outbound transfer, in MB, used for this NodeBalancer for the current month
    in number
    The total transfer, in MB, used by this NodeBalancer for the current month
    out number
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    total number
    The total outbound transfer, in MB, used for this NodeBalancer for the current month
    in_ float
    The total transfer, in MB, used by this NodeBalancer for the current month
    out float
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    total float
    The total outbound transfer, in MB, used for this NodeBalancer for the current month
    in Number
    The total transfer, in MB, used by this NodeBalancer for the current month
    out Number
    The total inbound transfer, in MB, used for this NodeBalancer for the current month
    total Number
    The total outbound transfer, in MB, used for this NodeBalancer for the current month

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Viewing docs for Linode v3.12.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.