
vShield API Programming Guide
58 VMware, Inc.
Intheexamplerequestbody,thenamespaceisdefinedasbeingsynonymouswithobjectnetwork-184.
Get Namespace Details
YoucanretrievedetailsaboutapreviouslyaddedvShieldnamespace.
Example 6-11. Get namespace details
Request:
GET https://<vsm-ip>/api/2.0/namespace/datacenter/<datacenter-id>/<namespace-id>
Delete a Namespace
YoucandeleteapreviouslyaddedvShieldnamespacedesignatedby<namespace-id>.
Example 6-12. Delete namespace
Request:
DELETE https://<vsm-ip>/api/2.0/namespace/datacenter/<datacenter-id>/<namespace-id>
Show Namespaces in a Datacenter
YoucanretrievealistofallvShieldnamespacesinthedatacenterspecifiedby<datacenter-id>.
Example 6-13. Get datacenter namespaces
Example:
GET https://<vsm-ip>/api/2.0/namespace/datacenter/<datacenter-id>
Show Port Groups that can be Marked as Namespace
Youcanretrievealistofallcandidateportgroupsinthedatacenterspecifiedby<datacenter-id>.thatcan
bemarkedasaseparatenamespace.
Example 6-14. Get port groups that can be marked as namespace
Example:
GET https://<vsm-ip>/api/2.0/namespace/datacenter/<datacenter-id>?list=candidate
Show Configured Namespaces in Datacenter
Youcanretrievealistofallconfigurednamespacesinthedatacenterspecifiedby<datacenter-id>.
Example 6-15. Get configured namespaces in datacenter
Example:
GET https://<vsm-ip>/api/2.0/namespace/datacenter/<datacenter-id>?list=configured
Configuring Syslog Service for a vShield App
YoucanconfigureallvShieldAppinstancestosendsystemeventstouptotwosyslogservers.AllvShield
Appinstancessharethesamesyslogserverconfiguration.
Komentarze do niniejszej Instrukcji