GetLoadBalancerPoolOrigin

data class GetLoadBalancerPoolOrigin(val address: String, val disabledAt: String, val enabled: Boolean, val header: GetLoadBalancerPoolOriginHeader, val name: String, val port: Int, val virtualNetworkId: String, val weight: Double)

Constructors

Link copied to clipboard
constructor(address: String, disabledAt: String, enabled: Boolean, header: GetLoadBalancerPoolOriginHeader, name: String, port: Int, virtualNetworkId: String, weight: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtualnetworkid must also be set.

Link copied to clipboard

This field shows up only if the origin is disabled. This field is set with the time the origin was disabled.

Link copied to clipboard

Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.

Link copied to clipboard

The request header is used to pass additional information with an HTTP request. Currently supported header is 'Host'.

Link copied to clipboard

A human-identifiable name for the origin.

Link copied to clipboard
val port: Int

The port for upstream connections. A value of 0 means the default port for the protocol will be used.

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

The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.