VMware VSHIELD APP 1.0 - API Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 />
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 103 104

Comentarios a estos manuales

Sin comentarios