Class Fabric

java.lang.Object
api.equinix.javasdk.EquinixClient
api.equinix.javasdk.Fabric
All Implemented Interfaces:
Service, Closeable, AutoCloseable

public final class Fabric extends EquinixClient implements Service
The primary entry point for accessing the Equinix Fabric APIs.

Equinix Fabric provides interconnection services that enable direct, private connectivity between infrastructure and applications. This class offers typed access to all Fabric resources including connections, ports, service tokens, cloud routers, routing protocols, route filters, streams, precision time services, networks, and more.

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");
 Fabric fabric = new Fabric(credentials);

 // List all connections
 PaginatedFilteredList<Connection> connections = fabric.connections().search();

 // Create a connection with dry-run validation
 Connection validated = fabric.connections()
     .define(ConnectionType.EVPL_VC)
     .withName("My-Connection")
     .withBandwidth(100)
     .dryRun()
     .create();

 // Check Fabric API health
 HealthStatus health = fabric.health();
 

Resource Chaining


 // Port -> Connection -> Statistics pipeline
 Port port = fabric.ports().list().get(0);
 ConnectionStatistic stats = fabric.connections().getStatistics(
     connectionUuid, startTime, endTime);

 // Cloud Router -> Routing Protocol -> Route Filter chain
 PaginatedFilteredList<CloudRouter> routers = fabric.cloudRouters().search();
 PaginatedList<RoutingProtocol> protocols = fabric.routingProtocols().list(connectionId);
 PaginatedFilteredList<RouteFilter> filters = fabric.routeFilters().search();
 
Version:
$Id: $Id
Author:
ianjones
See Also: