Package api.equinix.javasdk
Class IBXSmartView
java.lang.Object
api.equinix.javasdk.EquinixClient
api.equinix.javasdk.IBXSmartView
- All Implemented Interfaces:
Service,Closeable,AutoCloseable
The primary entry point for accessing Equinix IBX SmartView APIs.
IBX SmartView provides real-time environmental monitoring, power usage data, system alerts, and streaming subscriptions for Equinix IBX data centers. This class offers typed access to current and legacy sensor data, power readings, location hierarchy information, and asset management.
All resource accessors use lazy initialization — internal clients are created on first access and reused for subsequent calls.
Quick Start
BasicEquinixCredentials credentials = new BasicEquinixCredentials("clientId", "clientSecret");
IBXSmartView smartView = new IBXSmartView(credentials);
// Get environmental readings for a data center
PaginatedList<SensorReading> readings = smartView.environmentals().list("DC2");
// Get power readings
PaginatedList<PowerReading> power = smartView.power().list("DC2");
// Create a streaming subscription for real-time alerts
StreamingSubscription sub = smartView.streamingSubscriptions()
.define()
.withName("My-Alerts")
.withChannelType(ChannelType.WEBHOOK)
.withWebhookUrl("https://example.com/webhook")
.create();
- Author:
- ianjones
- See Also:
-
Field Summary
Fields inherited from class api.equinix.javasdk.EquinixClient
equinixClient -
Constructor Summary
ConstructorsConstructorDescriptionIBXSmartView(EquinixCredentials equinixCredentials) Creates a new IBX SmartView client using the provided credentials.IBXSmartView(EquinixCredentials equinixCredentials, boolean isSandBoxed) Creates a new IBX SmartView client with optional sandbox mode. -
Method Summary
Modifier and TypeMethodDescriptionReturns the client for accessing current environmental sensor data from IBX data centers.Returns the client for querying IBX location hierarchy data.Returns the client for accessing legacy (v1) environmental data APIs.Returns the client for accessing legacy (v1) power data APIs.power()Returns the client for accessing current power usage data from IBX data centers.Returns the client for managing SmartView asset information within IBX facilities.Returns the client for managing real-time streaming subscriptions.Returns the client for accessing system alerts from IBX facilities.Methods inherited from class api.equinix.javasdk.EquinixClient
authenticate, close, core
-
Constructor Details
-
IBXSmartView
Creates a new IBX SmartView client using the provided credentials. Authentication occurs automatically on the first API call.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIs
-
IBXSmartView
Creates a new IBX SmartView client with optional sandbox mode.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIsisSandBoxed-trueto use the sandbox environment for testing;falsefor production
-
-
Method Details
-
environmentals
Returns the client for accessing current environmental sensor data from IBX data centers. Provides temperature, humidity, and other environmental readings.- Returns:
- the
Environmentalsclient for querying environmental sensor data
-
power
-
streamingSubscriptions
Returns the client for managing real-time streaming subscriptions. Supports AWS IoT, Azure Event Hub, Webhook, and REST delivery channels for environmental, power, and alert data.- Returns:
- the
StreamingSubscriptionsclient for creating and managing streaming subscriptions
-
systemAlerts
Returns the client for accessing system alerts from IBX facilities. Provides active and historical alerts for environmental and power anomalies.- Returns:
- the
SystemAlertsclient for querying system alerts
-
hierarchy
-
smartViewAssets
Returns the client for managing SmartView asset information within IBX facilities.- Returns:
- the
SmartViewAssetsclient for managing SmartView assets
-
legacyEnvironmentals
Returns the client for accessing legacy (v1) environmental data APIs. Provides historical trending data for temperature and humidity with configurable time intervals.- Returns:
- the
LegacyEnvironmentalsclient for querying legacy environmental data
-
legacyPower
Returns the client for accessing legacy (v1) power data APIs. Provides historical trending data for power consumption with configurable time intervals.- Returns:
- the
LegacyPowerclient for querying legacy power data
-