NSX-T Data Center REST API

PatchResources (type)

{
  "additionalProperties": false,
  "description": "Patch Resources is an action to create/patch resources in response to an event.",
  "extends": {
    "$ref": "Action"
  },
  "id": "PatchResources",
  "module_id": "PolicyReaction",
  "polymorphic-type-descriptor": {
    "type-identifier": "PatchResources"
  },
  "properties": {
    "body": {
      "description": "Patch body representing a Hierarchical Patch payload. The resources included in the body are patched replacing the injections' keys with their actual values.",
      "required": true,
      "title": "Body",
      "type": "object"
    },
    "injections": {
      "description": "Injections holding keys (variables) and their corresponding values.",
      "items": {
        "$ref": "Injection"
      },
      "minItems": 1,
      "title": "Injections",
      "type": "array"
    },
    "resource_type": {
      "description": "Reaction Action resource type.",
      "enum": [
        "PatchResources",
        "SetFields"
      ],
      "required": true,
      "title": "Resource Type",
      "type": "string"
    }
  },
  "title": "Patch Resources",
  "type": "object"
}