'Ho do I check Check compliance of cluster with image using pyvmomi

I am using VCenter with ESXI 7.0 and I have a Cluster with multiple hosts and i want to do ComplianceCheck of my cluster with an ESXI and FW image using pyvmomi. Does pyvmomi contains that feature? I couldn't able to find the corresponding Vcenter MOB object to invoke it from VC mob.

VCenter
     |___Cluster_1
                |___host1
                |___host2

I couldn't able to find the corresponding child object with name starts with ComplianceScan* under Cluster in my VC mob.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source