
VMware, Inc. 31
Chapter 2 vShield Manager Management
DELETE https://<vsm-ip>/api/2.0/services/securitygroup/<securitygroup-id>/members/<member-moref>
Noinputrepresentationisneeded.Onsuccess,thisrequestreturns200HTTPOK.
Transport Set for Applications
ThevShieldtransportsetAPIsareusedtomanipulateapplications,andcontroltwotypesofresources:
Scope–identifiesthescopeofavShieldManagerobject,whichcanbeeitheravSpheredatacenterora
portgroup(legacyordvPortgroup).Applicationscanbecreatedonlyonvalidscopes.
Application–Thisisthemainapplicationobjectitself.
List Applications on a Scope
Youcanretrievealistofapplicationsthathavebeencreatedonthescopespecifiedbymanagedobject
reference<moref>.
Example 2-46. List applications on a given scope
Request:
GET https://<vsm-ip>/api/2.0/services/application/scope/<moref>
Anon‐existentscoperesultsina400BadRequesterror.
Add Application to a Scope
Youcancreateanewapplicationonthespecifiedscope.
Example 2-47. Add an application to a scope
Request:
POST https://<vsm-ip>/api/2.0/services/application/scope/<moref>
RequestBody:
<application>
<objectId/>
<type>
<typeName/>
</type>
<description>Some description</description>
<name>TestApplication1</name>
<revision>0</revision>
<objectTypeName/>
<element>
<applicationProtocol>UDP</applicationProtocol>
<value>9,22-31,44</value>
</element>
</application>
ForapplicationProtocol,possiblevaluesare:
TCP
UDP
ORACLE_TNS
FTP
SUN_RPC_TCP
SUN_RPC_UDP
Comentários a estes Manuais