BackendBalancingMode

enum BackendBalancingMode : Enum<BackendBalancingMode> , ConvertibleToJava<BackendBalancingMode>

Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.

Entries

Link copied to clipboard

Balance based on the number of simultaneous connections.

Link copied to clipboard

Balance based on requests per second (RPS).

Link copied to clipboard

Balance based on the backend utilization.

Types

Link copied to clipboard
object Companion

Functions

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

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: BackendBalancingMode
Link copied to clipboard
Link copied to clipboard