NSX-T Data Center REST API

HostMovementSpec (type)

{
  "id": "HostMovementSpec",
  "module_id": "SubCluster",
  "properties": {
    "destination": {
      "description": "This is the policy path of destination sub-cluster to which hosts will be moved to. If this value is null, then we assume the host is moved into the cluster.",
      "title": "Destination sub-cluster of hosts",
      "type": "string"
    },
    "discovered_node_ids": {
      "description": "Discovered node IDs to be moved.",
      "items": {
        "type": "string"
      },
      "required": true,
      "title": "Discovered node IDs",
      "type": "array"
    },
    "source": {
      "description": "This is the policy path of source sub-cluster from which hosts are moved out",
      "required": true,
      "title": "Source sub-cluster of hosts",
      "type": "string"
    }
  },
  "title": "Fields required for host movement across sub-clusters",
  "type": "object"
}