I'm trying to get started using the vSphere API, reading the document at the link below I should be able to browse to my vcenter using "sdk" in the URL but it's blank. Also I read that you have to download the root certificates, but that link is not where this document claims it is. I'm using 5.5
Do I need to enable this SDK in vCenter?
Do I need to enable this SDK in vCenter?
No, and what you're getting is the expected behavior: VMware KB: Cannot access the SDK URL at https://servername/sdk
The service athttps://localhost/sdk is not an HTML webserver that can serve web pages. The service functions over the SOAP protocol (an .xml based protocol) and only responds to SOAP requests.
For example a SOAP protocol request will serve https://vcenteripaddress/sdk/vimService.wsdl page wherevimservice.wsdl is the name of the Web Services Description Language (WSDL) webpage file provided by VMware.
Try browse the URL https://vcenteripaddress/sdk/vimService.wsdl
Not sure about python, but you can found more information here: vSphere API and SDK Documentation
And on this link I found some reference to python: VMware API and SDK Documentation
As Richardson Porto pointed out, /sdk is the SOAP endpoint. There is also web-ui oriented interface called the mob at /mob.
Overall the API documentation is generic to any of the SDK kits (Python, Perl, dotNet, Java, etc).
For Python, you'll probably want to use pyvmomi: https://github.com/vmware/pyvmomi
You'll have to know the utility functions for each SDK (they vary) and there are some quirks between how you instantiate the API objects.
Hello Everyone,
I'm have same issue, please suggest me how to enable SDK (I'm running vCenter 6)
Thanks,
Eakkasak
