Linode
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:
- Client
Conn intThrottle 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
- List<string>
A list of tags applied to this object. Tags are for organizational purposes only.
- Transfers
List<Get
Node Balancer Transfer> - Updated string
- Client
Conn intThrottle 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
- []string
A list of tags applied to this object. Tags are for organizational purposes only.
- Transfers
[]Get
Node Balancer Transfer - Updated string
- client
Conn IntegerThrottle 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
- List
A list of tags applied to this object. Tags are for organizational purposes only.
- transfers
List
Node Balancer Transfer> - updated String
- client
Conn numberThrottle 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
- string[]
A list of tags applied to this object. Tags are for organizational purposes only.
- transfers
Get
Node Balancer Transfer[] - updated string
- client_
conn_ intthrottle 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
- Sequence[str]
A list of tags applied to this object. Tags are for organizational purposes only.
- transfers
Sequence[Get
Node Balancer Transfer] - updated str
- client
Conn NumberThrottle 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
- List
A list of tags applied to this object. Tags are for organizational purposes only.
- transfers
List
- updated String
Supporting Types
GetNodeBalancerTransfer
Package Details
- Repository
- https://github.com/pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
linode
Terraform Provider.