NSX-T Data Center REST API
LbVariableCondition (type) (Deprecated)
{
"additionalProperties": false,
"deprecated": true,
"description": "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.",
"extends": {
"$ref": "LbRuleCondition
},
"id": "LbVariableCondition",
"module_id": "LoadBalancer",
"polymorphic-type-descriptor": {
"type-identifier": "LbVariableCondition"
},
"properties": {
"case_sensitive": {
"default": true,
"description": "If true, case is significant when comparing variable value.",
"required": false,
"title": "A case sensitive flag for variable value comparing",
"type": "boolean"
},
"inverse": {
"default": false,
"required": false,
"title": "A flag to indicate whether reverse the match result of this condition",
"type": "boolean"
},
"match_type": {
"$ref": "LbRuleMatchType,
"default": "REGEX",
"required": false,
"title": "Match type of variable value"
},
"type": {
"$ref": "LbRuleConditionType,
"required": true,
"title": "Type of load balancer rule condition"
},
"variable_name": {
"required": true,
"title": "Name of the variable to be matched",
"type": "string"
},
"variable_value": {
"required": true,
"title": "Value of variable to be matched",
"type": "string"
}
},
"title": "Condition to match IP header fields",
"type": "object"
}