NSX-T Data Center REST API

LbHttpRequestUriRewriteAction (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "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.",
  "extends": {
    "$ref": "LbRuleAction"
  },
  "id": "LbHttpRequestUriRewriteAction",
  "module_id": "LoadBalancer",
  "polymorphic-type-descriptor": {
    "type-identifier": "LbHttpRequestUriRewriteAction"
  },
  "properties": {
    "type": {
      "$ref": "LbRuleActionType",
      "description": "The property identifies the load balancer rule action type.",
      "required": true,
      "title": "Type of load balancer rule action"
    },
    "uri": {
      "required": true,
      "title": "URI of HTTP request",
      "type": "string"
    },
    "uri_arguments": {
      "description": "Query string of URI, typically contains key value pairs, for example: foo1=bar1&foo2=bar2",
      "required": false,
      "title": "URI arguments",
      "type": "string"
    }
  },
  "title": "Action to rewrite HTTP request URIs.",
  "type": "object"
}