0

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

1 Answers1

0

You should be able to use the LicenseManager for this. Try using si.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.

YSK
  • 1,572
  • 10
  • 19