Class EnvironmentalsImpl
java.lang.Object
com.eqixiac.equinix.ibxsmartview.client.implementation.EnvironmentalsImpl
- All Implemented Interfaces:
Environmentals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSensorReading(String ibx, String sensorId) Retrieves a specific environmental sensor reading by sensor identifier.Lists all environmental sensor readings for the specified IBX.Lists environmental sensor readings for the specified IBX, narrowed by sensor data type and zone and paged by offset/limit.
-
Constructor Details
-
EnvironmentalsImpl
public EnvironmentalsImpl()
-
-
Method Details
-
list
Description copied from interface:EnvironmentalsLists all environmental sensor readings for the specified IBX.- Specified by:
listin interfaceEnvironmentals- Parameters:
ibx- the IBX code identifying the data center- Returns:
- a paginated list of sensor readings
-
list
public PaginatedList<SensorReading> list(String ibx, String type, String zone, Integer offset, Integer limit) Description copied from interface:EnvironmentalsLists environmental sensor readings for the specified IBX, narrowed by sensor data type and zone and paged by offset/limit.- Specified by:
listin interfaceEnvironmentals- Parameters:
ibx- the IBX code identifying the data centertype- the sensor data type to filter by (e.g.HUMIDITY), ornullfor allzone- the zone name to filter by, ornullfor alloffset- the zero-based results offset, ornullfor the default (0)limit- the maximum number of records to retrieve, ornullfor the default (20)- Returns:
- a paginated list of sensor readings
-
getSensorReading
Description copied from interface:EnvironmentalsRetrieves a specific environmental sensor reading by sensor identifier.- Specified by:
getSensorReadingin interfaceEnvironmentals- Parameters:
ibx- the IBX code identifying the data centersensorId- the unique identifier of the sensor- Returns:
- the sensor reading for the specified sensor
-