Method getCompliance(VumVIInventory[] entities, String complianceStatus, VumBaseline[] baselines)

Retrieve baseline compliance data for the specified vSphere object of type template, virtual machine, vApp, ESX/ESXi host, folder, cluster, or a datacenter. The method returns information about the compliance of the specified object against the baselines that are attached to it. If the object is a container, the cmdlet returns compliance data for all objects in the container.




Name Type Description
entities VumVIInventory[] vSphere objects for which to get compliance
complianceStatus String Specify the compliance status that you want to retrieve. The valid values are in the ComplianceStatus enumeration.
baselines VumBaseline[] The baselines for which you want to retrieve the compliance status