Class 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.
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",
},
});
}
}
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
Inherited Members
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class NodeBalancer : CustomResource
Constructors
View SourceNodeBalancer(String, NodeBalancerArgs, CustomResourceOptions)
Create a NodeBalancer resource with the given unique name, arguments, and options.
Declaration
public NodeBalancer(string name, NodeBalancerArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NodeBalancerArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceClientConnThrottle
Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
Declaration
public Output<int?> ClientConnThrottle { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Created
Declaration
public Output<string> Created { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Hostname
This NodeBalancer's hostname, ending with .nodebalancer.linode.com
Declaration
public Output<string> Hostname { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ipv4
The Public IPv4 Address of this NodeBalancer
Declaration
public Output<string> Ipv4 { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ipv6
The Public IPv6 Address of this NodeBalancer
Declaration
public Output<string> Ipv6 { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Label
The label of the Linode NodeBalancer
Declaration
public Output<string> Label { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region where this NodeBalancer will be deployed. Examples are "us-east", "us-west", "ap-south", etc. Changing region forces the creation of a new Linode NodeBalancer..
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A list of tags applied to this object. Tags are for organizational purposes only.
Declaration
public Output<ImmutableArray<string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Transfer
Declaration
public Output<NodeBalancerTransfer> Transfer { get; }
Property Value
| Type | Description |
|---|---|
| Output<NodeBalancerTransfer> |
Updated
Declaration
public Output<string> Updated { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NodeBalancerState, CustomResourceOptions)
Get an existing NodeBalancer resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static NodeBalancer Get(string name, Input<string> id, NodeBalancerState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NodeBalancerState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| NodeBalancer |