Python - create report with License usage data
I am in the process of creating a python report writer that includes the information contained in "License Usage" page of the management portal. I think I have a handle on the local values contained in the report using the %SYSTEM.License class I have those defined using these methods:
Current License Units Used - -> LUConsumed
Maximum License Units Used --> LUMaxConsumed
License Units Enforced --> KeyEnforcedUnits
License Units Authorized --> KeyLicenseUnits
Current Connections --> InstanceConnections
Maximum Connections --> InstanceConnectionsMax
The only anomaly I found here is that in a terminal session using Objectscript :
But in Python those methods return None. Not sure if there is an alternative approach to get those values through Python or why Objectscript produces the correct results and Python does not.
Finally; I can not find any reference to what Class or methods to use to obtain the distributed values of each of those 6 data elements.