List Software Installed Components
Released in v7.0.0 DescriptionReturns the installed components on the host. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSoftwareSpecification.Read. - The resource HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
Request
URLURL
https://{api_host}/api/esx/hosts/{host}/software/installed-components
Parameters
Parameters
string
host
Required
Identifier of the cluster.
The parameter must be an identifier for the resource type: HostSystem.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
map
of
HostsSoftwareInstalledComponentsInstalledComponentInfo
of type application/json
The components installed on the host. The key in the result map will be an identifier for the resource type: com.vmware.esx.hosts.component.
{
"display_name": "string",
"display_version": "string",
"version": "string"
}
string
display_name
Required
Display name of the component.
string
display_version
Required
Human readable version of the component.
string
version
Required
Version of the installed component
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/esx/hosts/{host}/software/installed-components
Errors
404
com.vmware.vapi.std.errors.not_found : If there is no host associated with host in the system.
500
com.vmware.vapi.std.errors.internal_server_error : If there is some unknown internal error. The accompanying error message will give more details about the failure.