NSX-T Data Center REST API

ResourceOperation (type)

{
  "additionalProperties": false,
  "description": "Resource Operation is an Event Source that represents a resource that is being changed at very specific points of time, with regard to its interaction with dao layer.",
  "extends": {
    "$ref": "Source"
  },
  "id": "ResourceOperation",
  "module_id": "PolicyReaction",
  "polymorphic-type-descriptor": {
    "type-identifier": "ResourceOperation"
  },
  "properties": {
    "operation_types": {
      "description": "Operation types.",
      "items": {
        "$ref": "ResourceOperationType"
      },
      "minItems": 1,
      "required": true,
      "title": "Operation Types",
      "type": "array"
    },
    "resource_pointer": {
      "description": "Regex path representing a regex expression on resources. This regex is used to identify the object(s) that is/are the source of the Event. For instance: specifying \"Lb* | /infra/tier-0s/vmc/ipsec-vpn-services/default\" as a source means that ANY resource starting with Lb or ANY resource with \"/infra/tier-0s/vmc/ipsec-vpn-services/default\" as path would be the source of the event in question.",
      "required": true,
      "title": "Resource Pointer",
      "type": "string"
    },
    "resource_type": {
      "description": "Event Source resource type.",
      "enum": [
        "ResourceOperation",
        "ApiRequestBody"
      ],
      "required": true,
      "title": "Resource Type",
      "type": "string"
    }
  },
  "title": "Resource Operation",
  "type": "object"
}