VMware VSHIELD APP 1.0 - API Uživatelský manuál Strana 31

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 30
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:
ScopeidentifiesthescopeofavShieldManagerobject,whichcanbeeitheravSpheredatacenterora
portgroup(legacyordvPortgroup).Applicationscanbecreatedonlyonvalidscopes.
ApplicationThisisthemainapplicationobjectitself.
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>
Anonexistentscoperesultsina400BadRequesterror.
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
Zobrazit stránku 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 131 132

Komentáře k této Příručce

Žádné komentáře