Class LegacyEnvironmentalsImpl

java.lang.Object
com.eqixiac.equinix.ibxsmartview.client.implementation.LegacyEnvironmentalsImpl
All Implemented Interfaces:
LegacyEnvironmentals

public class LegacyEnvironmentalsImpl extends Object implements LegacyEnvironmentals
  • Constructor Details

    • LegacyEnvironmentalsImpl

      public LegacyEnvironmentalsImpl()
  • Method Details

    • getCurrent

      public EnvironmentData getCurrent(String accountNo, String ibx, String levelType, String levelValue)
      Description copied from interface: LegacyEnvironmentals
      Retrieves the current environmental data for a specific hierarchy level and value.
      Specified by:
      getCurrent in interface LegacyEnvironmentals
      Parameters:
      accountNo - the Equinix account number (required; the service answers HTTP 400 without it)
      ibx - the IBX code identifying the data center
      levelType - the hierarchy level type (e.g., cage, cabinet)
      levelValue - the specific value for the hierarchy level
      Returns:
      the current environmental data
    • listCurrent

      public List<EnvironmentDataForArray> listCurrent(String accountNo, String ibx, String levelType)
      Description copied from interface: LegacyEnvironmentals
      Lists current environmental data for all entries at the specified hierarchy level.
      Specified by:
      listCurrent in interface LegacyEnvironmentals
      Parameters:
      accountNo - the Equinix account number (required; the service answers HTTP 400 without it)
      ibx - the IBX code identifying the data center
      levelType - the hierarchy level type (e.g., cage, cabinet)
      Returns:
      a list of current environmental data entries
    • getTrending

      public TrendingEnvironmentData getTrending(String accountNo, String ibx, String dataPoint, String levelType, String levelValue, String interval, String fromDate, String toDate)
      Description copied from interface: LegacyEnvironmentals
      Retrieves trending environmental data over a specified time range and interval.
      Specified by:
      getTrending in interface LegacyEnvironmentals
      Parameters:
      accountNo - the Equinix account number (required; the service answers HTTP 400 without it)
      ibx - the IBX code identifying the data center
      dataPoint - the environmental data point to trend (e.g., temperature, humidity)
      levelType - the hierarchy level type (e.g., cage, cabinet)
      levelValue - the specific value for the hierarchy level
      interval - the aggregation interval for trend data
      fromDate - the start date of the trend range
      toDate - the end date of the trend range
      Returns:
      the trending environmental data