Can someone please suggest me a module which gets vCenter server's license expiration date and license type.
I tried to search from https://github.com/vmware/pyvmomi-community-samples but could not find any.
I need information(Displayed in attachment) using python. enter image description here
You should be able to use the
LicenseManager
for this. Try usingsi.RetrieveContent().licenseManager
and call methods from there.Note that the
LicenseManager
is deprecated starting vSphere 6.0, but according to this answer they'll still be around for some time and it looks like the CIS API isn't documented even for vSphere 6.5.