How to get the UUID for a transport node profile?
search cancel

How to get the UUID for a transport node profile?

book

Article ID: 424571

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

You need to get the UUID for a newly created Transport Node Profile. 

Resolution

You can run a curl command within NSX manager:

  • curl -k -u 'admin' -H 'Content-Type:application/json' -X GET https://<NSX_Manager_IP>/api/v1/transport-node-profiles

Or, you can run an API command via Postman:

  • GET https://<NSX_Manager_IP>/api/v1/transport-node-profiles
  • GET https://<nsx-mgr>/policy/api/v1/infra/host-transport-node-profiles
 "resource_type": "<Transport node profile name>",
    "id": "<Transport Node Profile UUID>",
    "display_name": "<display name",
    "description": "<description>",
    "path": "/infra/host-transport-node-profiles/<Path ID>",
    "relative_path": "<Path ID>",
    "parent_path": "/infra",
    "unique_id": "<Unique ID>",
    "realization_id": "<Realization ID>",
    "marked_for_delete": false,
    "overridden": false,
    "_system_owned": false,
    "_create_time": 1643135860595,
    "_create_user": "system",
    "_last_modified_time": 1643135860595,
    "_last_modified_user": "system",
    "_protection": "NOT_PROTECTED",
    "_revision": 0