LoadBalancerPoolOrigin

data class LoadBalancerPoolOrigin(val address: String, val enabled: Boolean? = null, val headers: List<LoadBalancerPoolOriginHeader>? = null, val name: String, val virtualNetworkId: String? = null, val weight: Double? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

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. Defaults to true.

Link copied to clipboard

HTTP request headers.

Link copied to clipboard

A human-identifiable name for the origin.

Link copied to clipboard

The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.

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. Defaults to 1.