LBHttpRequestUriRewriteAction

This action is used to rewrite URIs in matched HTTP request messages. Specify the uri and uri_arguments fields in this condition to rewrite the matched HTTP request message’s URI and URI arguments to the new values. Full URI scheme of HTTP messages have following syntax: scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment] The uri field of this action is used to rewrite the /path part in above scheme. And the uri_arguments field is used to rewrite the query part. Captured variables and built-in variables can be used in the uri and uri_arguments fields. Check the example in LBRuleAction to see how to use variables in this action.


Properties

Required Property Name Type Description
required type string

The property identifies the load balancer rule action type.

optional uri string

URI of HTTP request.

optional uri_arguments string

Query string of URI, typically contains key value pairs, for example: foo1=bar1&foo2=bar2.

Extends


LBRuleAction

JSON Example

{
    "type": "string"
}
Feedback

Was this page helpful?