Class LoadBalancerArgs
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class LoadBalancerArgs : ResourceArgs
Constructors
View SourceLoadBalancerArgs()
Declaration
public LoadBalancerArgs()
Properties
View SourceAlgorithm
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> |
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> |
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> |
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> |
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> |
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> |
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> |
Name
The Load Balancer name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
Region
The region to start in
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |