NSX-T Data Center REST API

OdsArgumentFilterRequest (type)

{
  "description": "Argument filter request for an Online Diagnostic System runbook.",
  "id": "OdsArgumentFilterRequest",
  "module_id": "PolicyOds",
  "properties": {
    "argument_id": {
      "description": "The identifier of runbook argument for value recommendation.",
      "required": true,
      "title": "Runbook argument identifier",
      "type": "string"
    },
    "context": {
      "description": "The partial argument valuations for the context of argument value recommendation.",
      "items": {
        "$ref": "UnboundedKeyValuePair"
      },
      "required": false,
      "title": "Context for argument value recommendation",
      "type": "array"
    },
    "filter_values": {
      "description": "An optional list of filter strings used to narrow the returned candidate values. When provided, only candidate values whose value or display_name contains at least one of the entries in this list as a substring are included in the response. For example, setting this field to [\"Network adapter\"] would match candidates such as \"Network adapter 1\" and \"Network adapter 2\". If omitted or empty, all candidate values for the specified argument are returned without any value or display_name filtering.",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 0,
      "required": false,
      "title": "Filter by argument value or display_name",
      "type": "array"
    },
    "target_node_id": {
      "description": "The identifier of a node where the argument value to be recommended. Use this field for appliance nodes. For host or Edge transport nodes, use target_node_path instead.",
      "title": "Identifier of an appliance node",
      "type": "string"
    },
    "target_node_path": {
      "description": "The policy path of a Host or Edge transport node where the argument value should be recommended. This is the preferred way to specify host and Edge transport nodes, as it uniquely identifies the node (e.g. /infra/sites/default/enforcement-points/default/host-transport-nodes/<node-id> or /infra/sites/default/enforcement-points/default/edge-transport-nodes/<node-id>). For appliance nodes, use target_node_id instead.",
      "title": "Policy path of a host or Edge transport node",
      "type": "string"
    }
  },
  "title": "Runbook argument filter request",
  "type": "object"
}