LoadBalancerPoolOriginArgs

data class LoadBalancerPoolOriginArgs(val address: Output<String>? = null, val disabledAt: Output<String>? = null, val enabled: Output<Boolean>? = null, val header: Output<LoadBalancerPoolOriginHeaderArgs>? = null, val name: Output<String>? = null, val port: Output<Int>? = null, val virtualNetworkId: Output<String>? = null, val weight: Output<Double>? = null) : ConvertibleToJava<LoadBalancerPoolOriginArgs>

Constructors

Link copied to clipboard
constructor(address: Output<String>? = null, disabledAt: Output<String>? = null, enabled: Output<Boolean>? = null, header: Output<LoadBalancerPoolOriginHeaderArgs>? = null, name: Output<String>? = null, port: Output<Int>? = null, virtualNetworkId: Output<String>? = null, weight: Output<Double>? = null)

Properties

Link copied to clipboard
val address: Output<String>? = null

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
val disabledAt: Output<String>? = null

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
val enabled: Output<Boolean>? = null

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
val name: Output<String>? = null

A human-identifiable name for the origin.

Link copied to clipboard
val port: Output<Int>? = null

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

Link copied to clipboard
val virtualNetworkId: Output<String>? = null

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

Link copied to clipboard
val weight: Output<Double>? = null

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.

Functions

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