Class LoadBalancerState
Inheritance
System.Object
LoadBalancerState
Inherited Members
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()
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class LoadBalancerState : ResourceArgs
Constructors
View Source
LoadBalancerState()
Declaration
public LoadBalancerState()
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
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<LoadBalancerForwardingRuleGetArgs> ForwardingRules { get; set; }
Property Value
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<LoadBalancerHealthcheckGetArgs> Healthcheck { get; set; }
Property Value
View Source
Ip
Declaration
public Input<string> Ip { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Status
Declaration
public Input<string> Status { 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<LoadBalancerStickySessionsGetArgs> StickySessions { get; set; }
Property Value
View Source
Urn
The uniform resource name for the Load Balancer
Declaration
public Input<string> Urn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
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> |
|