NSX-T Data Center REST API

NSGroupComplexExpression (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "NSGroupExpression"
  },
  "id": "NSGroupComplexExpression",
  "module_id": "NSGroup",
  "polymorphic-type-descriptor": {
    "type-identifier": "NSGroupComplexExpression"
  },
  "properties": {
    "expressions": {
      "description": "Represents expressions which are to be logically 'AND'ed.The array cannot contain NSGroupComplexExpression.Only NSGroupTagExpression and NSGroupSimpleExpressions are accepted.",
      "items": {
        "$ref": "NSGroupExpression"
      },
      "maxItems": 5,
      "minItems": 2,
      "required": true,
      "title": "List of simple and tag expressions",
      "type": "array"
    },
    "resource_type": {
      "enum": [
        "NSGroupSimpleExpression",
        "NSGroupComplexExpression",
        "NSGroupTagExpression"
      ],
      "required": true,
      "type": "string"
    }
  },
  "title": "Complex expressions to represent NSGroup membership",
  "type": "object"
}