VMware VSHIELD MANAGER 4.1.0 UPDATE 1 - API Manuale Utente Pagina 63

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 90
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 62
VMware, Inc. 63
Chapter 7 vShield Endpoint Management
Retrieve vShield Endpoint Service Status on an ESX Host
YoumustspecifythehostIDoftheESXhost.
Example 7-3. Retrieving vShield Endpoint Service Status from an ESX Host
Request:
GET <vshieldmanager-uri>/api/1.0/endpointsecurity/host/<hostId>
Example:
GET /api/1.0/endpointsecurity/host/host-1234 HTTP/1.1
host: 10.112.199.123:80
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Response:
HTTP 200 OK
<?xml version=”1.0” encoding=”UTF-8” standalone=”yes”?>
<VShieldEndpointSecurity>
<lkmStatus>installed|notInstalled|badEsxVersion</lkmStatus>
</VShieldEndpointSecurity>
HTTP 401 Unauthorized : The username or password sent in Authorization header is wrong.
HTTP 404 Not Found : If the hostId is missing in the URI.
HTTP 400 Bad Request : Internal error codes. Please refer the Error Schema for more details.
40002=Acquiring 1. data from VC failed for <>
40017=hostId is malformatted or of incorrect length : <>
Uninstalling the vShield Endpoint Service from an ESX Host
BeforeyouuninstallthevShieldEndpointfromthevShieldManagerandESXhost,youmustunregisterthe
SVMfromthevShieldEndpointservice.
Unregister an SVM from vShield Endpoint
YoumustspecifythevirtualmachineIDoftheSVMtounregistertheSVMfromthevShieldEndpointservice.
Example 7-4. Unregistering an SVM from vShield Endpoint
Request:
DELETE <vshieldmanager-uri>/endpointsecurity/svm/<vmId>
Example:
DELETE /api/1.0/endpointsecurity/svm/vm-1234 HTTP/1.1
host: 10.112.199.123:80
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Response:
HTTP 204 No Content: The Endpoint Security VM is successfully unregistered.
HTTP 401 Unauthorized: The username or password sent in Authorized header is wrong.
HTTP 405 Method Not Allowed: If the vmId is missed in the URI.
HTTP 400 Bad Request: Internal error codes. Please refer the Error Schema for more details.
40002=Acquiring data from VC failed for <>
40007=SVM with moid: <> not registered
40015=vmId is malformatted or of incorrect length : <>
CAUTIONIfanyofthevirtualmachinesthatarerunningonthetargetESXhostcannotbemigratedtoanother
ESXhost,thesevirtualmachinesmustbepoweredofformigratedmanuallybeforetheuninstallationcan
continue.
Vedere la pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 89 90

Commenti su questo manuale

Nessun commento