GetLoadBalancerPoolsPoolOrigin

data class GetLoadBalancerPoolsPoolOrigin(val address: String, val enabled: Boolean? = null, val headers: List<GetLoadBalancerPoolsPoolOriginHeader>? = null, val name: String, val weight: Double? = null) : ConvertibleToJava<GetLoadBalancerPoolsPoolOrigin>

Constructors

Link copied to clipboard
constructor(address: String, enabled: Boolean? = null, headers: List<GetLoadBalancerPoolsPoolOriginHeader>? = null, name: String, weight: Double? = null)

Properties

Link copied to clipboard

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

Link copied to clipboard
val enabled: Boolean? = null

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks.

Link copied to clipboard

HTTP request headers.

Link copied to clipboard

A human-identifiable name for the origin.

Link copied to clipboard
val weight: Double? = null

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When origin_steering.policy="least_outstanding_requests", weight is used to scale the origin's outstanding requests. When origin_steering.policy="least_connections", weight is used to scale the origin's open connections.

Functions

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