LoadBalancingRuleArgs

data class LoadBalancingRuleArgs(val backendAddressPool: Output<SubResourceArgs>? = null, val backendPort: Output<Int>? = null, val disableOutboundSnat: Output<Boolean>? = null, val enableFloatingIP: Output<Boolean>? = null, val enableTcpReset: Output<Boolean>? = null, val frontendIPConfiguration: Output<SubResourceArgs>? = null, val frontendPort: Output<Int>, val id: Output<String>? = null, val idleTimeoutInMinutes: Output<Int>? = null, val loadDistribution: Output<Either<String, LoadDistribution>>? = null, val name: Output<String>? = null, val probe: Output<SubResourceArgs>? = null, val protocol: Output<Either<String, TransportProtocol>>) : ConvertibleToJava<LoadBalancingRuleArgs>

A load balancing rule for a load balancer.

Constructors

Link copied to clipboard
constructor(backendAddressPool: Output<SubResourceArgs>? = null, backendPort: Output<Int>? = null, disableOutboundSnat: Output<Boolean>? = null, enableFloatingIP: Output<Boolean>? = null, enableTcpReset: Output<Boolean>? = null, frontendIPConfiguration: Output<SubResourceArgs>? = null, frontendPort: Output<Int>, id: Output<String>? = null, idleTimeoutInMinutes: Output<Int>? = null, loadDistribution: Output<Either<String, LoadDistribution>>? = null, name: Output<String>? = null, probe: Output<SubResourceArgs>? = null, protocol: Output<Either<String, TransportProtocol>>)

Properties

Link copied to clipboard
val backendAddressPool: Output<SubResourceArgs>? = null

A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.

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

The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".

Link copied to clipboard
val disableOutboundSnat: Output<Boolean>? = null

Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

Link copied to clipboard
val enableFloatingIP: Output<Boolean>? = null

Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

Link copied to clipboard
val enableTcpReset: Output<Boolean>? = null

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

Link copied to clipboard

A reference to frontend IP addresses.

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 0 and 65534. Note that value 0 enables "Any Port".

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

Resource ID.

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

The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

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

The load distribution policy for this rule.

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

The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.

Link copied to clipboard
val probe: Output<SubResourceArgs>? = null

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

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

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

Functions

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