VMware VSHIELD APP 1.0 - API Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
VMware, Inc. 27
Chapter 2 vShield Manager Management
List MACsets Created on a Scope
YoucanretrievealltheMACsetsthatwerecreatedonthespecifiedscope.
Example 2-33. List MACsets on a scope
Request:
GET https://<vsm-ip>/api/2.0/services/macset/scope/<scope-moref>
The<scope-moref>canbeadatacenterorportgroupofthevCentertowhichvShieldManagerisconnected.
Create a MACset on a Scope
YoucancreateaMACsetonthespecifiedscope.Onsuccess,theAPIreturnsastringidentifierforthenew
MACset.
Example 2-34. Create MACset on a scope
Request:
POST https://<vsm-ip>/api/2.0/services/macset/scope/<scope-moref>
RequestBodyExample:
<macset>
<objectId />
<type>
<typeName />
</type>
<description>Some description</description>
<name>TestMACSet1</name>
<revision>0</revision>
<objectTypeName />
<value>22:33:44:55:66:77,00:11:22:33:44:55,aa:bb:cc:dd:ee:ff</value>
</macset>
The<scope-moref>canbeadatacenterorportgroupofthe vCentertowhichvShieldManagerisconnected.
Intherequestbodyexample,acommaseparatedlistofMACaddressesisspecified.
Get Details of a MACset
YoucanretrievedetailsaboutaMACset.
Example 2-35. Get details of a MACset
Request:
GET https://<vsm-ip>/api/2.0/services/macset/<macset-id>
The<MACset-id>isasreturnedbylistingtheMACsetonascope.
Modify an Existing MACset
YoucanmodifyanexistingMACsetandretrievedetailsaboutthemodifiedMACset.
Example 2-36. Modify details of a MACsets
Request:
PUT https://<vsm-ip>/api/2.0/services/MACset/<MACset-id>
RequestBodyExample:
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 131 132

Commentaires sur ces manuels

Pas de commentaire