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

  • 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 81
vShield API Programming Guide
82 VMware, Inc.
Foralistofreturnstatuscodes,see“ReturnStatusCodes”onpage 86.
Register a Vendor
Youcanregisterthevendorofanantivirussolution.
Example 7-1. Register a vendor
Request:
POST https://<vsm-ip>/api/2.0/endpointsecurity/registration
RequestBody:
<VendorInfo>
<id>vendor_id</id>
<title>vendor_title</title>
<description>vendor_description</description>
</VendorInfo>
Intherequestbody,vendor_idistheVMwareassignedIDforthevendor,whilevendor_titleand
vendor_descriptionarevendorprovidedstrings.
Register a Solution
Youcanregisteranantivirussolution.
Example 7-2. Register a solution
Request:
POST https://<vsm-ip>/api/2.0/endpointsecurity/registration/<vendor_id>
RequestBody:
<SolutionInfo>
<altitude>solution_altitude</altitude>
<title>solution_title</title>
<description>solution_description</description>
</SolutionInfo>
Intherequest,<vendor_id>isthepreviouslyregisteredIDforthevendor.
Intherequestbody,solution_altitudeistheVMwareassignedaltitudeforthesolution,solution_title
andsolution_descriptionarevendorprovidedstrings.See“A l t i t u d e ofaSolution”onpage 82.
Altitude of a Solution
AltitudeisanumberthatVMwareassignstouniquelyidentifythesolution.Thealtitudedescribesthetypeof
solutionandtheorderinwhichthesolutionreceiveseventsrelativetoothersolutionsonthesamehost.
IP Address and Port for a Solution
Youcansetasolution’sIPaddressandportonthevNIChost.
Example 7-3. Set IP address and port
Request:
POST https://<vsm-ip>/api/2.0/endpointsecurity/registration/<vendor_id>/<altitude>/location
RequestBody:
<LocationInfo>
<ip>solution_ip_address</ip>
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 131 132

Commentaires sur ces manuels

Pas de commentaire