NSX-T Data Center REST API

RuleInsertParameters (type)

{
  "description": "Parameters to let the admin specify a relative position of a rule w.r.t to another one in the same security policy. If the rule specified in the anchor_path belongs to another security policy an error will be thrown.",
  "extends": {
    "$ref": "PolicyInsertParameters"
  },
  "id": "RuleInsertParameters",
  "module_id": "Policy",
  "properties": {
    "anchor_path": {
      "required": false,
      "title": "The security policy/rule path if operation is 'insert_after' or\n'insert_before'\n",
      "type": "string"
    },
    "operation": {
      "default": "insert_top",
      "enum": [
        "insert_top",
        "insert_bottom",
        "insert_after",
        "insert_before"
      ],
      "required": false,
      "title": "Operation",
      "type": "string"
    }
  },
  "title": "Parameters to tell where rule needs to be placed",
  "type": "object"
}