VMware Networking Community
patrickkuan
Contributor
Contributor

How to find the UUID of vnic

I would like  to get vnic network statistics by querying  api  GET /api/2.1/app/flow/flowstats

But I can not find the vnic uuid.  Is anyone query this api by using vnic UUID?

0 Kudos
2 Replies
Alex_Romeo
Leadership
Leadership

Hi,

This post can be useful:

How to determine ESXI host UUID

ARomeo

Blog: https://www.aleadmin.it/
0 Kudos
patrickkuan
Contributor
Contributor

Thank you for providing the information. I can get esxi host uuid but I can not  query api with host uuid success.

Please refer to the url below page 251 , I can use all parameter to call rest api success but uuid of vnic

https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.3/nsx_63_api.pdf

0 Kudos