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
LicenseManagerfor this. Try usingsi.RetrieveContent().licenseManagerand call methods from there.Note that the
LicenseManageris 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.