VMware VSHIELD APP 1.0.0 UPDATE 1 - API Programming Manual page 59

Vshield api
Hide thumbs Also See for VSHIELD APP 1.0.0 UPDATE 1 - API:
Table of Contents

Advertisement

Delete a Single Security Group
You can delete a single Security Group under a base node by specifying the Security Group ID.
Example 6-18. Deleting a Single Security Group
Request:
DELETE <vshield_manager-uri>/api/1.0/global/securityGroups/<base-node-moref-id>/
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
You can delete all security groups under a base node. Firewall rules related to deleted security groups are also
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
You can configure all vShield App instances to send system events to up to two syslog servers. All vShield App
instances share the same syslog server configuration.
This request returns the list of syslog servers configured on the first vShield App instance that responds.
Example 6-20. Get the Syslog Server Configuration for All vShield App Instances
Request:
GET <vshield_manager-uri>/api/1.0/zones/syslogServers
This request configures all vShield App instances connected to the vShield Manager to send events to the
specified syslog servers.
Example 6-21. Post the Syslog Server Configuration across All vShield App Instances
Request:
POST <vshield_manager-uri>/api/1.0/zones/syslogServers
VMware, Inc.
groups/<securityGroupId>
Chapter 6 vShield App Management
59

Advertisement

Table of Contents
loading

Table of Contents