Show / Hide Table of Contents

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.com

  • ipv4 - The Public IPv4 Address of this NodeBalancer

  • ipv6 - The Public IPv6 Address of this NodeBalancer

Inheritance
System.Object
Resource
CustomResource
NodeBalancer
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class NodeBalancer : CustomResource

Constructors

View Source

NodeBalancer(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 Source

ClientConnThrottle

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>>
View Source

Created

Declaration
public Output<string> Created { get; }
Property Value
Type Description
Output<System.String>
View Source

Hostname

This NodeBalancer's hostname, ending with .nodebalancer.linode.com

Declaration
public Output<string> Hostname { get; }
Property Value
Type Description
Output<System.String>
View Source

Ipv4

The Public IPv4 Address of this NodeBalancer

Declaration
public Output<string> Ipv4 { get; }
Property Value
Type Description
Output<System.String>
View Source

Ipv6

The Public IPv6 Address of this NodeBalancer

Declaration
public Output<string> Ipv6 { get; }
Property Value
Type Description
Output<System.String>
View Source

Label

The label of the Linode NodeBalancer

Declaration
public Output<string> Label { get; }
Property Value
Type Description
Output<System.String>
View Source

Region

The region where this NodeBalancer will be deployed. Examples are &quot;us-east&quot;, &quot;us-west&quot;, &quot;ap-south&quot;, etc. Changing region forces the creation of a new Linode NodeBalancer..

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

Transfer

Declaration
public Output<NodeBalancerTransfer> Transfer { get; }
Property Value
Type Description
Output<NodeBalancerTransfer>
View Source

Updated

Declaration
public Output<string> Updated { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.