Interface SmartViewAssets
- All Known Implementing Classes:
SmartViewAssetsImpl
public interface SmartViewAssets
Client interface for the IBX SmartView Assets API. Provides methods to list assets as a
category/template/asset hierarchy, search assets, retrieve asset details and their tag points,
and read current tag-point values.
-
Method Summary
Modifier and TypeMethodDescriptiongetAffectedAssets(String accountNo, String ibx, String assetId, String classification) Retrieves the hierarchy of customer assets affected by a given asset.getAssetDetails(String accountNo, String ibx, String classification, String assetId) Retrieves detailed information (including tag points) for a single monitored asset.getCurrentTagPoint(String accountNo, String ibx, String tagId) Retrieves the most recent tag-point data for a given tag identifier.getMultipleAssetDetails(AssetDetailsRequest requestBody) Retrieves details for multiple assets using a typed request body.getMultipleCurrentTagPoints(CurrentTagPointRequest requestBody) Retrieves current tag-point data for multiple tag identifiers using a typed request body.Lists monitored assets for the specified account/IBX as a category/template/asset hierarchy.Searches for monitored assets matching a wildcard search string within an account/IBX.
-
Method Details
-
list
Lists monitored assets for the specified account/IBX as a category/template/asset hierarchy.- Parameters:
accountNo- the Equinix account number (required; the service answers HTTP 400 without it)ibx- the IBX code identifying the data centerclassification- the asset classification to filter by (ElectricalorMechanical)cages- the list of cage unique space ids to filter by, ornullfor all- Returns:
- the assets list hierarchy
- Throws:
IllegalArgumentException- if a parameter the spec marks required is null or blank
-
getAssetDetails
Retrieves detailed information (including tag points) for a single monitored asset.- Parameters:
accountNo- the Equinix account number (required; the service answers HTTP 400 without it)ibx- the IBX code identifying the data centerclassification- the asset classification (ElectricalorMechanical)assetId- the unique identifier of the asset- Returns:
- the asset detail envelope
- Throws:
IllegalArgumentException- if a parameter the spec marks required is null or blank
-
getMultipleAssetDetails
Retrieves details for multiple assets using a typed request body.- Parameters:
requestBody- the typed request body specifying the account, IBX, classification and asset ids- Returns:
- the multi-asset details response
-
search
Searches for monitored assets matching a wildcard search string within an account/IBX.- Parameters:
accountNo- the Equinix account number (required; the service answers HTTP 400 without it)ibx- the IBX code identifying the data centersearchString- the search term to match against asset identifiers- Returns:
- the asset search results
- Throws:
IllegalArgumentException- if a parameter the spec marks required is null or blank
-
getAffectedAssets
HierarchyNodeForAssetAPI getAffectedAssets(String accountNo, String ibx, String assetId, String classification) Retrieves the hierarchy of customer assets affected by a given asset.- Parameters:
accountNo- the Equinix account number (required; the service answers HTTP 400 without it)ibx- the IBX code identifying the data centerassetId- the unique identifier of the assetclassification- the asset classification (ElectricalorMechanical)- Returns:
- the affected-assets hierarchy
- Throws:
IllegalArgumentException- if a parameter the spec marks required is null or blank
-
getCurrentTagPoint
Retrieves the most recent tag-point data for a given tag identifier.- Parameters:
accountNo- the Equinix account number (required; the service answers HTTP 400 without it)ibx- the IBX code identifying the data centertagId- the unique identifier of the tag point- Returns:
- the current tag-point data
- Throws:
IllegalArgumentException- if a parameter the spec marks required is null or blank
-
getMultipleCurrentTagPoints
Retrieves current tag-point data for multiple tag identifiers using a typed request body.- Parameters:
requestBody- the typed request body specifying the account, tag ids and IBX- Returns:
- the current tag-point data
-