Show / Hide Table of Contents

Class LoadBalancerArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LoadBalancerArgs
Inherited Members
ResourceArgs.Empty
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.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class LoadBalancerArgs : ResourceArgs

Constructors

View Source

LoadBalancerArgs()

Declaration
public LoadBalancerArgs()

Properties

View Source

Algorithm

The load balancing algorithm used to determine which backend Droplet will be selected by a client. It must be either round_robin or least_connections. The default value is round_robin.

Declaration
public Input<string> Algorithm { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DropletIds

A list of the IDs of each droplet to be attached to the Load Balancer.

Declaration
public InputList<int> DropletIds { get; set; }
Property Value
Type Description
InputList<System.Int32>
View Source

DropletTag

The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.

Declaration
public Input<string> DropletTag { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EnableBackendKeepalive

A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is false.

Declaration
public Input<bool> EnableBackendKeepalive { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

EnableProxyProtocol

A boolean value indicating whether PROXY Protocol should be used to pass information from connecting client requests to the backend service. Default value is false.

Declaration
public Input<bool> EnableProxyProtocol { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

ForwardingRules

A list of forwarding_rule to be assigned to the Load Balancer. The forwarding_rule block is documented below.

Declaration
public InputList<LoadBalancerForwardingRuleArgs> ForwardingRules { get; set; }
Property Value
Type Description
InputList<LoadBalancerForwardingRuleArgs>
View Source

Healthcheck

A healthcheck block to be assigned to the Load Balancer. The healthcheck block is documented below. Only 1 healthcheck is allowed.

Declaration
public Input<LoadBalancerHealthcheckArgs> Healthcheck { get; set; }
Property Value
Type Description
Input<LoadBalancerHealthcheckArgs>
View Source

Name

The Load Balancer name

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RedirectHttpToHttps

A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443. Default value is false.

Declaration
public Input<bool> RedirectHttpToHttps { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Region

The region to start in

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

StickySessions

A sticky_sessions block to be assigned to the Load Balancer. The sticky_sessions block is documented below. Only 1 sticky_sessions block is allowed.

Declaration
public Input<LoadBalancerStickySessionsArgs> StickySessions { get; set; }
Property Value
Type Description
Input<LoadBalancerStickySessionsArgs>
View Source

VpcUuid

The ID of the VPC where the load balancer will be located.

Declaration
public Input<string> VpcUuid { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.