VMware VSHIELD APP 1.0 - API Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 104
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
vShield API Programming Guide
20 VMware, Inc.
Get a List of Possible Roles
YoucanretrievethepossiblerolesinvShieldManager.
Example 2-16. Retrieve possible roles
Request:
GET https://<vsm-ip>/api/2.0/services/usermgmt/roles
Get a List of Scoping Objects
Youcanretrievealistofobjectsthatcanbeusedtodefineausersaccessscope.
Example 2-17. Retrieve scoping objects
Request:
GET https://<vsm-ip>/api/2.0/services/usermgmt/scopingobjects
ThescopingobjectsareusuallymanagedobjectreferencesorvCenterServernamesofdatacentersandfolders.
Creating IPset and MACset Containers
YoucancreatevShieldcontainersbasedonIPaddressesandMACaddresses.TheseAPIscontroltwotypesof
resources:vShieldManagerscopeobject(adatacenterorportgroup)andtheIPsetorMACsetaddresses.
List IPsets Created on a Scope
YoucanretrievealltheIPsetsthatwerecreatedonthespecifiedscope.
Example 2-18. List IPsets on a scope
Request:
GET https://<vsm-ip>/api/2.0/services/ipset/scope/<scope-moref>
The<scope-moref>canbeadatacenterorportgroupofthevCentertowhichvShieldManagerisconnected.
Create an IPset on a Scope
YoucancreateanewIPsetonthespecifiedscope.
Example 2-19. Create IPset on a scope
Request:
POST https://<vsm-ip>/api/2.0/services/ipset/scope/<scope-moref>
RequestBodyExample:
<ipset>
<objectId />
<type>
<typeName />
</type>
<description>
New Description
</description>
<name>TestIPSet2</name>
<revision>0</revision>
<objectTypeName />
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 103 104

Komentarze do niniejszej Instrukcji

Brak uwag