GetLoadBalancerRule

data class GetLoadBalancerRule(val condition: String, val disabled: Boolean, val fixedResponse: GetLoadBalancerRuleFixedResponse, val name: String, val overrides: GetLoadBalancerRuleOverrides, val priority: Int, val terminates: Boolean)

Constructors

Link copied to clipboard
constructor(condition: String, disabled: Boolean, fixedResponse: GetLoadBalancerRuleFixedResponse, name: String, overrides: GetLoadBalancerRuleOverrides, priority: Int, terminates: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The condition expressions to evaluate. If the condition evaluates to true, the overrides or fixed_response in this rule will be applied. An empty condition is always true. For more details on condition expressions, please see https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.

Link copied to clipboard

Disable this specific rule. It will no longer be evaluated by this load balancer.

Link copied to clipboard

A collection of fields used to directly respond to the eyeball instead of routing to a pool. If a fixed*response is supplied the rule will be marked as terminates.

Link copied to clipboard

Name of this rule. Only used for human readability.

Link copied to clipboard

A collection of overrides to apply to the load balancer when this rule's condition is true. All fields are optional.

Link copied to clipboard

The order in which rules should be executed in relation to each other. Lower values are executed first. Values do not need to be sequential. If no value is provided for any rule the array order of the rules field will be used to assign a priority.

Link copied to clipboard

If this rule's condition is true, this causes rule evaluation to stop after processing this rule.