TcpRouteRuleAction

data class TcpRouteRuleAction(val destinations: List<TcpRouteRuleActionDestination>? = null, val idleTimeout: String? = null, val originalDestination: Boolean? = null)

Constructors

Link copied to clipboard
constructor(destinations: List<TcpRouteRuleActionDestination>? = null, idleTimeout: String? = null, originalDestination: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The destination services to which traffic should be forwarded. At least one destination service is required. Structure is documented below.

Link copied to clipboard
val idleTimeout: String? = null

Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 30 seconds. If set to 0s, the timeout will be disabled. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

Link copied to clipboard

If true, Router will use the destination IP and port of the original connection as the destination of the request.