GET /lcm/api/v1/view/node displays the nodes and node IDs managed by vRealize Suite Lifecycle Manager.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.

  • Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.

  • Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.

curl Command

The following example requests details for all nodes.

curl -X GET "https://LCM-Hostname/lcm/api/v1/view/node" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \

JSON Output

The following JSON output is returned based on the command input.

[

  {
    "name": "vra-server-primary",
    "id": "78b45f299cbdc2755585ce13babc8"
  },
  {
    "name": "managementagent",
    "id": "78b45f299cbdc2755585ce13babd9"
  },
  {
    "name": "iaas-web",
    "id": "78b45f299cbdc2755585ce13babd7"
  },
  {
    "name": "iaas-dem-worker",
    "id": "78b45f299cbdc2755585ce13bb3ae"
  },
  {
    "name": "proxy-agent-vsphere",
    "id": "78b45f299cbdc2755585ce13bb3a8"
  }

]