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

  • 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 61
vShield API Programming Guide
62 VMware, Inc.
Getconsolidatedconfigurationsforthecontext:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-2/config?list=consolidated
Getaparticularconfigurationhistoryforagivencontext:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-2/config?list=history&configID=241
ConfigurationisreturnedasXML.
Example 6-4. Get complete firewall configuration for a datacenter
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config
ResponseBody:
<VshieldAppConfiguration>
<firewallConfiguration generationNumber="1312802020950" timestamp="1312802020950"
contextId="datacenter-21" provisioned="true">
<layer3FirewallRule disabled="false" precedence="high" id="1510">
<action>allow</action>
<logged>false</logged>
<notes>XYZ</notes>
<source>
<address exclude="true">
<containerId>domain-c26</containerId>
</address>
</source>
<destination>
<address exclude="false">
<containerId>domain-c26</containerId>
</address>
<application>
<protocol>4</protocol>
</application>
</destination>
</layer3FirewallRule>
<layer3FirewallRule disabled="false" precedence="high" id="1509">
<action>allow</action>
<logged>false</logged>
<notes>XYZ</notes>
<source>
<address exclude="true">
<containerId>domain-c26</containerId>
</address>
</source>
<destination>
<address exclude="false">
<containerId>network-43</containerId>
</address>
<application>
<applicationSetId>application-24</applicationSetId>
</application>
</destination>
</layer3FirewallRule>
<layer3FirewallRule disabled="false" precedence="high" id="1508">
<action>allow</action>
<logged>false</logged>
<notes></notes>
<source>
<address exclude="true">
<containerId>domain-c26</containerId>
</address>
</source>
<destination>
<address exclude="false">
<containerId>domain-c26</containerId>
Generation number value
Zobrazit stránku 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 131 132

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

Žádné komentáře