VMware VSHIELD APP 1.0 - API Bedienungsanleitung Seite 24

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 104
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 23
vShield API Programming Guide
24 VMware, Inc.
POST https://10.24.128.128/api/2.0/services/securitygroup/datacenter-31
<?xml version="1.0" encoding="UTF-8" ?>
<securitygroup>
<objectId />
<type>
<typeName />
</type>
<description>
Some description 2
</description>
<name>
TestSecurityGroup2
</name>
<revision>
0
</revision>
<objectTypeName />
</securitygroup>
Get Members for a Scope
Youcanretrievealistofapplicablememberelementsthatcanbeaddedtosecuritygroupscreatedona
particularscope.Becausesecuritygroupallowsonlyspecifictypeofcontainerelementstobeadded,thislist
helpsyoudetermineallpossiblevalidelementsthatcanbeadded.
Example 2-30. Get members for a security group scope
Request:
GET https://<vsm-ip>/api/2.0/services/securitygroup/scope/<scope-moref>/members/
NotethatthisAPIcommandrequiresaslash(/)attheend.Therequestreturnsalongoutputrepresentation
ofmemberobjects.
Get Security Group Details
Youcanretrievethedetailsaboutasecuritygroup.
Example 2-31. Get details of a security group
Request:
GET https://<vsm-ip>/api/2.0/services/securitygroup/<securitygroup-id>
<VshieldConfiguration>
<InstallStatus>
<InstalledServices>
<VszInstalled>true</VszInstalled><EpsecInstalled>false</EpsecInstalled>
</InstalledServices>
</InstallStatus>
</VshieldConfiguration>
Modify a Security Group
Youcanmodifyanexistingsecuritygroup.
Example 2-32. Modify a security group
Request:
PUT https://<vsm-ip>/api/2.0/services/securitygroup/<securitygroup-id>
Seitenansicht 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 103 104

Kommentare zu diesen Handbüchern

Keine Kommentare