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

  • 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 60
VMware, Inc. 61
Chapter 6 vShield App Management
<context>isthecontextIDofadatacenter,cluster,ordvPortGroup.
<L>isthelistingtype,oneofthefollowing:
statusforbriefcurrentstate
configforfirewallconfiguration(thedefault)
historyforconfigurationhistory
consolidatedforcombinedconfigurationincludingallrulesapplicableinthecontext/
<P>istheruleprecedence,eitherHIGH,LOW,DEFAULT,orNONE.
<R>canbeLAYER3orLAYER2tofiltertheconfigurationrulesforlayer3orlayer2.
<C>istheconfigurationIDusedinconjunctionwiththehistorylistingtype.
Example 6-3. Queries for firewall configuration
Getquickstatus:
GET https://<vsm-ip>/api/2.0/app/firewall/dvportgroup-63/config?list=status
Getcompletefirewallconfigurationforcontextdatacenter21:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config
Getconfigurationofonlyhighprecedencerules:
GET https://<vsm-ip>/api/2.0/app/firewall/dvportgroup-63/config?list=config&precedence=HIGH
Getconfigurationofonlylowprecedencerules:
GET https://<vsm-ip>/api/2.0/app/firewall/dvportgroup-63/config?list=config&precedence=LOW
Getconfigurationofonlydefaultprecedencerules:
GET https://<vsm-ip>/api/2.0/app/firewall/dvportgroup-63/config?list=config&precedence=DEFAULT
GetconfigurationofonlyLayer3rules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&rulesType=LAYER3
Getconfigurationofonlyhighprecedencelayer3firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=HIGH\
&rulesType=LAYER3
Getconfigurationofonlylowprecedencelayer3firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=LOW\
&rulesType=LAYER3
Getconfigurationofonlydefaultprecedencelay er3firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=DEFAULT\
&rulesType=LAYER3
Getconfigurationofonlylayer2firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&rulesType=LAYER2
Getconfigurationofonlyhighprecedencelayer2firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=HIGH\
&rulesType=LAYER2
Getconfigurationofonlylowprecedencelayer2firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=LOW\
&rulesType=LAYER2
Getconfigurationofonlydefaultprecedencelay er2firewallrules:
GET https://<vsm-ip>/api/2.0/app/firewall/datacenter-21/config?list=config\&precedence=DEFAULT\
&rulesType=LAYER2
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 131 132

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

Žádné komentáře