scheduler

@JvmName(name = "nkllbokjgxuryuby")
suspend fun scheduler(value: Output<String>)
@JvmName(name = "efmqyorddcswrqwx")
suspend fun scheduler(value: String?)

Parameters

value

The scheduling algorithm. Valid values:

  • Wrr: The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.

  • rr: The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.

  • sch: Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.

  • tch: Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.