
vShield API Programming Guide
78 VMware, Inc.
Example 6-27. Delete virtual machine from exclusion list
Example:
DELETE https://<vsm-ip>/api/2.1/app/excludelist/<memberID>
WherememberIdisthevc‐moref‐idofavirtualmachine.
Configuring Syslog Service for a vShield App
YoucanconfigureallvShieldAppinstancestosendsystemeventstouptotwosyslogservers.AllvShield
Appinstancessharethesamesyslogserverconfiguration.
YoucanretrievealistofsyslogserversconfiguredonthefirstvShieldAppinstancethatresponds.
Example 6-28. Get the syslog server configuration for All vShield App instances
Request:
GET https://<vsm-ip>/api/1.0/zones/syslogServers
YoucanconfigureallvShieldAppinstancesconnectedtothevShieldManagertosendeventstothespecified
syslogservers.
Example 6-29. Post the syslog server configuration across all vShield App instances
Request:
POST https://<vsm-ip>/api/1.0/zones/syslogServers
YoucandeletethesyslogserverconfigurationacrossallvShieldAppinstancesconnectedtothevShield
Manager.
Example 6-30. Delete the syslog server configuration across all vShield App instances
Request:
DELETE https://<vsm-ip>/api/1.0/zones/syslogServers
YoucandeleteasyslogserveracrossallvShieldAppinstancesconnectedtothevShieldManager.
Example 6-31. Delete a single syslog server by IP address from All vShield App instances
Request:
DELETE https://<vsm-ip>/api/1.0/zones/syslogServers/<ip_of_syslogServer>
Synchronizing vShield App
You can force vShield App to synchronize with the last good configuration in the vShield Manager database.
Example 6-32. Force Sync vShield App
Request:
POST https://<vsm-ip>/api/1.0/zones/host-28/forceSync
Komentáře k této Příručce