Linode

Pulumi Official
Package maintained by Pulumi
v3.7.1 published on Wednesday, Jan 5, 2022 by Pulumi

getNodeBalancer

Provides details about a Linode NodeBalancer.

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
    public MyStack()
    {
        var my_nodebalancer = Output.Create(Linode.GetNodeBalancer.InvokeAsync(new Linode.GetNodeBalancerArgs
        {
            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, &GetNodeBalancerArgs{
			Id: 123,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_linode as linode

my_nodebalancer = linode.get_node_balancer(id=123)
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const my_nodebalancer = pulumi.output(linode.getNodeBalancer({
    id: 123,
}));

Coming soon!

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)
// Output-based functions aren't available in Java yet
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

A list of tags applied to this object. Tags are for organizational purposes only.

transfers ListNodeBalancerTransfer>
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

A list of tags applied to this object. Tags are for organizational purposes only.

transfers List
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
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes

This Pulumi package is based on the linode Terraform Provider.