VMware Cloud Community
mwazeem
Contributor
Contributor

Couldn't able to find the MOB equivalent to invoke ComplianceScan of a Cluster with ESXI and fw

I have my VCenter with ESXI version 7.0.2. I am trying to find the equivalent MOB method to invoke the ComplianceScan and Remediate event of a cluster with ESXI and fw packages (VLCM feature). I am trying to automate the process using python library called pyVmomi, but couldn't able to find the corresponding mob in VCenter. 


0 Kudos
1 Reply
lamw
Community Manager
Community Manager

Automation of the vLCM capabilities is through vCenter REST API, not vSphere SOAP API, especially as you mentioned vSphere MOB (which is more of a debugging/troubleshooting/learning interface to SOAP API rather than an actual interface for Automation)

 

See https://developer.vmware.com/apis/vsphere-automation/latest/esx/settings/ for set of APIs pertaining to ESXi host for vLCM

0 Kudos