Class LegacyPowerImpl
java.lang.Object
api.equinix.javasdk.ibxsmartview.client.implementation.LegacyPowerImpl
- All Implemented Interfaces:
LegacyPower
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyPowerImpl(LegacyPowerClient serviceClient, IBXSmartView serviceManager) -
Method Summary
Modifier and TypeMethodDescriptiongetCurrent(String accountNo, String ibx, String levelType, String levelValue) Retrieves the current power data for a specific hierarchy level and value.getTrending(String accountNo, String ibx, String levelType, String levelValue, String interval, String fromDate, String toDate) Retrieves trending power data over a specified time range and interval.postCurrent(Object requestBody) Retrieves current power data for multiple assets using a structured request body.
-
Constructor Details
-
LegacyPowerImpl
-
-
Method Details
-
getCurrent
Description copied from interface:LegacyPowerRetrieves the current power data for a specific hierarchy level and value.- Specified by:
getCurrentin interfaceLegacyPower- Parameters:
accountNo- the Equinix account numberibx- the IBX code identifying the data centerlevelType- the hierarchy level type (e.g., cage, cabinet)levelValue- the specific value for the hierarchy level- Returns:
- the current power data
-
postCurrent
Description copied from interface:LegacyPowerRetrieves current power data for multiple assets using a structured request body.- Specified by:
postCurrentin interfaceLegacyPower- Parameters:
requestBody- the request body specifying the assets to query- Returns:
- a list of current power data entries
-
getTrending
public TrendingPowerData getTrending(String accountNo, String ibx, String levelType, String levelValue, String interval, String fromDate, String toDate) Description copied from interface:LegacyPowerRetrieves trending power data over a specified time range and interval.- Specified by:
getTrendingin interfaceLegacyPower- Parameters:
accountNo- the Equinix account numberibx- the IBX code identifying the data centerlevelType- the hierarchy level type (e.g., cage, cabinet)levelValue- the specific value for the hierarchy levelinterval- the aggregation interval for trend datafromDate- the start date of the trend rangetoDate- the end date of the trend range- Returns:
- the trending power data
-