Download vShield API Programming Guide

Transcript
Chapter 2 vShield Manager Management
Example 2-5. Get vShield Manager configuration
Request:
GET https://<vsm-ip>/api/2.0/global/config
Registering vShield Manager Plug-In with vSphere Client
You can register the vShield Manager as a vSphere Client plug‐in. Example 2-6. Register vShield Manager plug-in with vSphere client
Request:
PUT https://<vsm-ip>/api/2.0/global/viplugin/register?natedIp=<ip>&natedPort=<port>
Where ip and port are optional parameters that you may want to specify in a NAT environment.
Unregistering vShield Manager Plug-In with vSphere Client
You can unregister the vShield Manager as a vSphere Client plug‐in. Example 2-7. Unregister vShield Manager Plug-in with vSphere client
Request:
PUT https://<vsm-ip>/api/2.0/global/viplugin/unregister
Querying Registration Status of vShield Manager Plug-In
You can get the registration status of the vShield Manager as a vSphere Client plug‐in.
Example 2-8. Get registration status of vShield Manager Plug-in with vSphere client
Request:
GET https://<vsm-ip>/api/2.0/global/viplugin/status
Monitoring vShield Manager reachability
You can verify that the vShield Manager is reachable.
Example 2-9. Verify that the vShield Manager is reachable
Request:
GET https://<vsm-ip>/api/2.0/global/heartbeat
Working with vShield Manager Syslog Server Configuration
You can configure vShield manager to send system events and audit logs to a syslog server, retrieve current configuration, or delete the current configuration.
VMware, Inc.
19