LoadBalancingRuleArgs

data class LoadBalancingRuleArgs(val backendPort: Output<Int>, val frontendPort: Output<Int>, val loadDistribution: Output<String>? = null, val probePort: Output<Int>? = null, val probeProtocol: Output<Either<String, ProbeProtocol>>, val probeRequestPath: Output<String>? = null, val protocol: Output<Either<String, Protocol>>) : ConvertibleToJava<LoadBalancingRuleArgs>

Describes a load balancing rule.

Constructors

Link copied to clipboard
constructor(backendPort: Output<Int>, frontendPort: Output<Int>, loadDistribution: Output<String>? = null, probePort: Output<Int>? = null, probeProtocol: Output<Either<String, ProbeProtocol>>, probeRequestPath: Output<String>? = null, protocol: Output<Either<String, Protocol>>)

Properties

Link copied to clipboard
val backendPort: Output<Int>

The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

Link copied to clipboard
val frontendPort: Output<Int>

The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534.

Link copied to clipboard
val loadDistribution: Output<String>? = null

The load distribution policy for this rule.

Link copied to clipboard
val probePort: Output<Int>? = null

The prob port used by the load balancing rule. Acceptable values are between 1 and 65535.

Link copied to clipboard
val probeProtocol: Output<Either<String, ProbeProtocol>>

the reference to the load balancer probe used by the load balancing rule.

Link copied to clipboard
val probeRequestPath: Output<String>? = null

The probe request path. Only supported for HTTP/HTTPS probes.

Link copied to clipboard
val protocol: Output<Either<String, Protocol>>

The reference to the transport protocol used by the load balancing rule.

Functions

Link copied to clipboard
open override fun toJava(): LoadBalancingRuleArgs