LBVariableCondition

This condition is used to match variable’s name and value at all phases. The variables could be captured from REGEX or assigned by LBVariableAssignmentAction or system embedded variable. Varialbe_name and variable_value should be matched at the same time.


Properties

boolean
case_sensitive Optional

If true, case is significant when comparing variable value.


boolean
inverse Optional

A flag to indicate whether reverse the match result of this condition


string
match_type Optional

Match type of variable value

Possible values are: STARTS_WITHENDS_WITHEQUALSCONTAINSREGEX


string
type Required

Type of load balancer rule condition

Possible values are: LBHttpRequestUriConditionLBHttpRequestHeaderConditionLBHttpRequestMethodConditionLBHttpRequestUriArgumentsConditionLBHttpRequestVersionConditionLBHttpRequestCookieConditionLBHttpRequestBodyConditionLBHttpResponseHeaderConditionLBTcpHeaderConditionLBIpHeaderConditionLBVariableConditionLBHttpSslCondition


string
variable_name Optional

Name of the variable to be matched


string
variable_value Optional

Value of variable to be matched

Extends

LBRuleCondition

JSON Example

{
    "type": "string"
}
Feedback

Was this page helpful?