Hi Guys,
I want to add esxi cluster in transport zone and as per the document this the API and body has been given but it not working and i am not sure what is going wrong, can some help here
https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf ( refered page number 40 )
This is in PDF-
POST /api/2.0/vdn/scopes/{scopeId}
Request:
Body: application/xml
<vdnScope>
<objectId>universalvdnscope</objectId>
<clusters>
<cluster>
<cluster>
<objectId>domain-c7</objectId>
</cluster>
</cluster>
</clusters>
</vdnScope>
Below one I am executing where i am getting error
https://nsx-manager/api/2.0/vdn/scopes/vdnscope-4
Method: POST
Request:
Body: application/xml
<vdnScope>
<objectId>vdnscope-4</objectId>
<clusters>
<cluster>
<cluster>
<objectId>domain-c39</objectId>
</cluster>
</cluster>
</clusters>
</vdnScope>
Thanks