
VMware, Inc. 59
Chapter 6 vShield App Management
Delete a Single Security Group
YoucandeleteasingleSecurityGroupunderabasenodebyspecifyingtheSecurityGroupID.
Example 6-18. Deleting a Single Security Group
Request:
DELETE <vshield_manager-uri>/api/1.0/global/securityGroups/<base-node-moref-id>/
groups/<securityGroupId>
Example:
DELETE /api/1.0/global/securityGroups/datacenter-2/groups/secgroup-1 HTTP/1.1
authorization: Basic YWRtaW46ZGVmYXVsdA==
host: 10.112.196.127
Delete All Security Groups under a Base Node
Youcandeleteallsecuritygroupsunderabasenode.Firew allrulesrelatedtodeletedsecuritygroupsarealso
deleted.
Example 6-19. Deleting All Security Groups under a Base Node
Request:
DELETE <vshield_manager-uri>/api/1.0/global/securityGroups/<base-node-moref-id>/groups
Example:
DELETE /api/1.0/global/securityGroups/datacenter-2/groups/ HTTP/1.1
authorization: Basic YWRtaW46ZGVmYXVsdA==
host: 10.112.196.127
Configuring Syslog Service for a vShield App
YoucanconfigureallvShieldAppinstancestosendsystemeventstouptotwosyslogservers.AllvShieldApp
instancessharethesamesyslogserverconfiguration.
ThisrequestreturnsthelistofsyslogserversconfiguredonthefirstvShieldAppinstancethatresponds.
Example 6-20. Get the Syslog Server Configuration for All vShield App Instances
Request:
GET <vshield_manager-uri>/api/1.0/zones/syslogServers
ThisrequestconfiguresallvShieldAppinstancesconnectedtothevShieldManagertosendeventstothe
specifiedsyslogservers.
Example 6-21. Post the Syslog Server Configuration across All vShield App Instances
Request:
POST <vshield_manager-uri>/api/1.0/zones/syslogServers
Kommentare zu diesen Handbüchern