NodeBalancer
Provides a Linode NodeBalancer resource. This can be used to create, modify, and delete Linodes NodeBalancers in Linode’s managed load balancer service. For more information, see Getting Started with NodeBalancers and the Linode APIv4 docs.
Attributes
This resource exports the following attributes:
hostname- This NodeBalancer’s hostname, ending with .nodebalancer.linode.comipv4- The Public IPv4 Address of this NodeBalanceripv6- The Public IPv6 Address of this NodeBalancer
Example Usage
using Pulumi;
using Linode = Pulumi.Linode;
class MyStack : Stack
{
public MyStack()
{
var foobar = new Linode.NodeBalancer("foobar", new Linode.NodeBalancerArgs
{
ClientConnThrottle = 20,
Label = "mynodebalancer",
Region = "us-east",
Tags =
{
"foobar",
},
});
}
}
Coming soon!
import pulumi
import pulumi_linode as linode
foobar = linode.NodeBalancer("foobar",
client_conn_throttle=20,
label="mynodebalancer",
region="us-east",
tags=["foobar"])import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.NodeBalancer("foobar", {
clientConnThrottle: 20,
label: "mynodebalancer",
region: "us-east",
tags: ["foobar"],
});Create a NodeBalancer Resource
new NodeBalancer(name: string, args: NodeBalancerArgs, opts?: CustomResourceOptions);def NodeBalancer(resource_name, opts=None, client_conn_throttle=None, label=None, region=None, tags=None, __props__=None);func NewNodeBalancer(ctx *Context, name string, args NodeBalancerArgs, opts ...ResourceOption) (*NodeBalancer, error)public NodeBalancer(string name, NodeBalancerArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args NodeBalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodeBalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeBalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
NodeBalancer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The NodeBalancer resource accepts the following input properties:
- Region string
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- Client
Conn intThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- Label string
The label of the Linode NodeBalancer
- List<string>
A list of tags applied to this object. Tags are for organizational purposes only.
- Region string
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- Client
Conn intThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- Label string
The label of the Linode NodeBalancer
- []string
A list of tags applied to this object. Tags are for organizational purposes only.
- region string
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- client
Conn numberThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- label string
The label of the Linode NodeBalancer
- string[]
A list of tags applied to this object. Tags are for organizational purposes only.
- region str
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- client_
conn_ floatthrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- label str
The label of the Linode NodeBalancer
- List[str]
A list of tags applied to this object. Tags are for organizational purposes only.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeBalancer resource produces the following output properties:
- Created string
- Hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4 string
The Public IPv4 Address of this NodeBalancer
- Ipv6 string
The Public IPv6 Address of this NodeBalancer
- Transfer
Node
Balancer Transfer - Updated string
- Created string
- Hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4 string
The Public IPv4 Address of this NodeBalancer
- Ipv6 string
The Public IPv6 Address of this NodeBalancer
- Transfer
Node
Balancer Transfer - Updated string
- created string
- hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4 string
The Public IPv4 Address of this NodeBalancer
- ipv6 string
The Public IPv6 Address of this NodeBalancer
- transfer
Node
Balancer Transfer - updated string
- created str
- hostname str
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4 str
The Public IPv4 Address of this NodeBalancer
- ipv6 str
The Public IPv6 Address of this NodeBalancer
- transfer
Dict[Node
Balancer Transfer] - updated str
Look up an Existing NodeBalancer Resource
Get an existing NodeBalancer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NodeBalancerState, opts?: CustomResourceOptions): NodeBalancerstatic get(resource_name, id, opts=None, client_conn_throttle=None, created=None, hostname=None, ipv4=None, ipv6=None, label=None, region=None, tags=None, transfer=None, updated=None, __props__=None);func GetNodeBalancer(ctx *Context, name string, id IDInput, state *NodeBalancerState, opts ...ResourceOption) (*NodeBalancer, error)public static NodeBalancer Get(string name, Input<string> id, NodeBalancerState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Client
Conn intThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- Created string
- Hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- 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
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- List<string>
A list of tags applied to this object. Tags are for organizational purposes only.
- Transfer
Node
Balancer Transfer Args - Updated string
- Client
Conn intThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- Created string
- Hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- 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
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- []string
A list of tags applied to this object. Tags are for organizational purposes only.
- Transfer
Node
Balancer Transfer - Updated string
- client
Conn numberThrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- created string
- hostname string
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- 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
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- string[]
A list of tags applied to this object. Tags are for organizational purposes only.
- transfer
Node
Balancer Transfer - updated string
- client_
conn_ floatthrottle Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
- created str
- hostname str
This NodeBalancer’s hostname, ending with .nodebalancer.linode.com
- 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
The region where this NodeBalancer will be deployed. Examples are
"us-east","us-west","ap-south", etc. Changingregionforces the creation of a new Linode NodeBalancer..- List[str]
A list of tags applied to this object. Tags are for organizational purposes only.
- transfer
Dict[Node
Balancer Transfer] - updated str
Supporting Types
NodeBalancerTransfer
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.