com.trendmicro.ds.platform.rest.api

## Interface IHostAPI

-     public interface IHostAPI

  The APIs to return information about the Host.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ComponentListing` | `retrieveHostComponents(java.lang.Integer hostId, java.lang.String sID)` List the Components of the host.
    `ComponentListing` | `retrieveVirusPatterns(java.lang.Integer hostId, java.lang.String sID)` List the Virus Pattern Components of the host.

- - ### Method Detail

    - #### retrieveHostComponents

          ComponentListing retrieveHostComponents(java.lang.Integer hostId,
                                                  java.lang.String sID)
                                           throws java.lang.Exception

      List the Components of the host. Components are patterns, rule updates, manifests, etc.., , typically items that are visible on the ComputerEditor->Updates page.
      Parameters:
        `hostId` - Identifying Host ID
        `sID` - Authentication session token ID.
      Returns:
        the list of components
      Throws:
        `java.lang.Exception`

    - #### retrieveVirusPatterns

          ComponentListing retrieveVirusPatterns(java.lang.Integer hostId,
                                                 java.lang.String sID)
                                          throws java.lang.Exception

      List the Virus Pattern Components of the host.
      Parameters:
        `hostId` - Identifying Host ID
        `sID` - Authentication session token ID.
      Returns:
        the list of virus pattern components
      Throws:
        `java.lang.Exception`

Copyright © 2015 Trend Micro Inc. All Rights Reserved.