ForwardingRuleRuleCondition

data class ForwardingRuleRuleCondition(val hostConfigs: List<ForwardingRuleRuleConditionHostConfig>? = null, val pathConfig: ForwardingRuleRuleConditionPathConfig? = null, val ruleConditionType: String, val ruleConditionValue: String? = null)

Constructors

Link copied to clipboard
constructor(hostConfigs: List<ForwardingRuleRuleConditionHostConfig>? = null, pathConfig: ForwardingRuleRuleConditionPathConfig? = null, ruleConditionType: String, ruleConditionValue: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The configuration of the domain name. See host_config below.

Link copied to clipboard

The configuration of the path. See path_config below.

Link copied to clipboard

The type of the forwarding conditions. Valid values: Host, Path, RequestHeader, Query, Method, Cookie, SourceIP. NOTE: From version 1.231.0, rule_condition_type can be set to RequestHeader, Query, Method, Cookie, SourceIP.

Link copied to clipboard

The value of the forwarding condition type. For more information, see How to use it.