NSX-T Data Center REST API
NSGroupSimpleExpression (type)
{
"extends": {
"$ref": "NSGroupExpression
},
"id": "NSGroupSimpleExpression",
"module_id": "NSGroup",
"polymorphic-type-descriptor": {
"type-identifier": "NSGroupSimpleExpression"
},
"properties": {
"op": {
"description": "All operators perform a case insensitive match.",
"enum": [
"EQUALS",
"CONTAINS",
"STARTSWITH",
"ENDSWITH",
"NOTEQUALS"
],
"required": true,
"title": "Operator of the expression",
"type": "string"
},
"resource_type": {
"enum": [
"NSGroupSimpleExpression",
"NSGroupComplexExpression",
"NSGroupTagExpression"
],
"required": true,
"type": "string"
},
"target_property": {
"required": true,
"title": "Field of the resource on which this expression is evaluated",
"type": "string"
},
"target_resource": {
"$ref": "ResourceReference,
"description": "Reference of the target. Will be populated when the property is a resource id, the op (operator) is EQUALS and populate_references is set to be true.",
"readonly": true,
"required": false,
"title": "Reference of the target"
},
"target_type": {
"$ref": "NSGroupValidResourceType,
"required": true,
"title": "Type of the resource on which this expression is evaluated"
},
"value": {
"required": true,
"title": "Value that satisfies this expression",
"type": "string"
}
},
"title": "Simple expressions to represent NSGroup membership",
"type": "object"
}