Load Balancer Rule
data class LoadBalancerRule(val condition: String? = null, val disabled: Boolean? = null, val fixedResponse: LoadBalancerRuleFixedResponse? = null, val name: String, val overrides: List<LoadBalancerRuleOverride>? = null, val priority: Int? = null, val terminates: Boolean? = null)
Constructors
Link copied to clipboard
constructor(condition: String? = null, disabled: Boolean? = null, fixedResponse: LoadBalancerRuleFixedResponse? = null, name: String, overrides: List<LoadBalancerRuleOverride>? = null, priority: Int? = null, terminates: Boolean? = null)
Properties
Link copied to clipboard
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
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
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
Terminates indicates that if this rule is true no further rules should be executed. Note: setting a fixed_response
forces this field to true
.