NSX-T Data Center REST API
NSGroupTagExpression (type)
{
"description": "Includes both scope and tag attribute of Tag. The scope and tag expressions are logically 'AND' with each other. eg- tag.scope = \"S1\" AND tag.tag = 'T1'",
"extends": {
"$ref": "NSGroupExpression
},
"id": "NSGroupTagExpression",
"module_id": "NSGroup",
"polymorphic-type-descriptor": {
"type-identifier": "NSGroupTagExpression"
},
"properties": {
"resource_type": {
"enum": [
"NSGroupSimpleExpression",
"NSGroupComplexExpression",
"NSGroupTagExpression"
],
"required": true,
"type": "string"
},
"scope": {
"maxLength": 128,
"required": false,
"title": "The tag.scope attribute of the object",
"type": "string"
},
"scope_op": {
"default": "EQUALS",
"enum": [
"EQUALS"
],
"required": false,
"title": "Operator of the scope expression eg- tag.scope = \"S1\".",
"type": "string"
},
"tag": {
"maxLength": 256,
"required": false,
"title": "The tag.tag attribute of the object",
"type": "string"
},
"tag_op": {
"default": "EQUALS",
"description": "Target_type VirtualMachine supports all specified operators for tag expression while LogicalSwitch and LogicalPort supports only EQUALS operator. All operators perform a case insensitive match.",
"enum": [
"EQUALS",
"CONTAINS",
"STARTSWITH",
"ENDSWITH"
],
"required": false,
"title": "Operator of the tag expression eg- tag.tag = \"Production\"",
"type": "string"
},
"target_type": {
"enum": [
"LogicalSwitch",
"LogicalPort",
"VirtualMachine",
"IPSet"
],
"required": true,
"title": "Type of the resource on which this expression is evaluated",
"type": "string"
}
},
"title": "TAG expressions to represent NSGroup membership",
"type": "object"
}