NSX-T Data Center REST API
ALBContentRewriteProfile (type)
{
"additionalProperties": false,
"description": "Advanced load balancer ContentRewriteProfile object",
"id": "ALBContentRewriteProfile",
"module_id": "PolicyAdvancedLoadBalancer",
"properties": {
"response_rewrite_enabled": {
"default": false,
"description": "Enable rewrite on response body. Default value when not specified in API or module is interpreted by ALB Controller as false.",
"required": false,
"title": "Response rewrite enabled",
"type": "boolean"
},
"rewritable_content_path": {
"description": "Rewrite only content types listed in this string group. Content types not present in this list are not rewritten. It is a reference to an object of type StringGroup.",
"required": false,
"title": "Rewritable content path",
"type": "string",
"x-vmw-cross-reference": [
{
"leftType": [
"ALBVirtualService"
],
"relationshipType": "ALB_VIRTUALSERVICE_ALB_STRINGGROUP_RELATIONSHIP",
"rightType": [
"ALBStringGroup"
]
}
]
},
"rsp_match_replace_pair": {
"description": "Strings to be matched and replaced with on the response body. This should be configured when response_rewrite_enabled is set to true.",
"items": {
"$ref": "ALBMatchReplacePair
},
"required": false,
"title": "Rsp match replace pair",
"type": "array"
}
},
"title": "ContentRewriteProfile",
"type": "object"
}