LoadBalancerRuleArgs

data class LoadBalancerRuleArgs(val condition: Output<String>? = null, val disabled: Output<Boolean>? = null, val fixedResponse: Output<LoadBalancerRuleFixedResponseArgs>? = null, val name: Output<String>, val overrides: Output<List<LoadBalancerRuleOverrideArgs>>? = null, val priority: Output<Int>? = null, val terminates: Output<Boolean>? = null) : ConvertibleToJava<LoadBalancerRuleArgs>

Constructors

Link copied to clipboard
constructor(condition: Output<String>? = null, disabled: Output<Boolean>? = null, fixedResponse: Output<LoadBalancerRuleFixedResponseArgs>? = null, name: Output<String>, overrides: Output<List<LoadBalancerRuleOverrideArgs>>? = null, priority: Output<Int>? = null, terminates: Output<Boolean>? = null)

Properties

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

The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See load balancing rules.

Link copied to clipboard
val disabled: Output<Boolean>? = null

A disabled rule will not be executed.

Link copied to clipboard

Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: overrides or fixed_response must be set.

Link copied to clipboard
val name: Output<String>

Human readable name for this rule.

Link copied to clipboard

The load balancer settings to alter if this rule's condition is true. Note: overrides or fixed_response must be set.

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

Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used.

Link copied to clipboard
val terminates: Output<Boolean>? = null

Terminates indicates that if this rule is true no further rules should be executed. Note: setting a fixed_response forces this field to true.

Functions

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