LBHttpRequestUriArgumentsCondition

This condition is used to match URI arguments aka query string of Http request messages, for example, in URI http://exaple.com?foo=1&bar=2, the “foo=1&bar=2” is the query string containing URI arguments. In an URI scheme, query string is indicated by the first question mark (“?”) character and terminated by a number sign (“#”) character or by the end of the URI. The uri_arguments field can be specified as a regular expression(Set match_type to REGEX). For example, “foo=(?\d+)”. It matches HTTP requests whose URI arguments containing “foo”, the value of foo contains only digits. And the value of foo is captured as $x which can be used in LBRuleAction fields which support variables.


Properties

boolean
case_sensitive Optional

If true, case is significant when comparing URI arguments.


boolean
inverse Optional

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


string
match_type Optional

Match type of URI arguments

Possible values are: STARTS_WITHENDS_WITHEQUALSCONTAINSREGEX


string
type Required

Type of load balancer rule condition

Possible values are: LBHttpRequestUriConditionLBHttpRequestHeaderConditionLBHttpRequestMethodConditionLBHttpRequestUriArgumentsConditionLBHttpRequestVersionConditionLBHttpRequestCookieConditionLBHttpRequestBodyConditionLBHttpResponseHeaderConditionLBTcpHeaderConditionLBIpHeaderConditionLBVariableConditionLBHttpSslCondition


string
uri_arguments Optional

URI arguments, aka query string of URI.

Extends

LBRuleCondition

JSON Example

{
    "type": "string"
}
Feedback

Was this page helpful?