Class NetworkEdge
java.lang.Object
com.eqixiac.equinix.EquinixClient
com.eqixiac.equinix.NetworkEdge
- All Implemented Interfaces:
Closeable, AutoCloseable
The primary entry point for accessing the Equinix Network Edge APIs.
Network Edge provides virtual network devices deployed at Equinix data centers, enabling customers to run network functions (routers, firewalls, SD-WAN) without physical hardware. This class offers typed access to all Network Edge resources including virtual devices, ACL templates, VPN connections, BGP peerings, device links, public keys, and backups.
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");
NetworkEdge networkEdge = new NetworkEdge(credentials);
// List all virtual devices
PaginatedList<Device> devices = networkEdge.devices().list();
// Create a virtual device with the fluent builder
Device device = networkEdge.devices()
.define("my-router")
.withAccountNumber(accountNumber)
.inMetro(MetroCode.SV)
.withDeviceType("CSR1000V")
.create();
// Manage ACL templates
PaginatedList<ACLTemplate> templates = networkEdge.aclTemplates().list();
- Author:
- ianjones
- See Also:
-
Field Summary
Fields inherited from class EquinixClient
autoLoadMetros, enrichMetroRegistry, equinixClient, peeringDbApiKeyModifier and TypeFieldDescriptionprotected final booleanWhether an explicitEquinixClient.authenticate()should eagerly load the metro catalog.protected final booleanWhether the metro registry should be enriched with per-IBX detail from EIA.protected final EquinixClientprotected final StringThe PeeringDB API key configured viaEquinixConfig.getPeeringDbApiKey(), ornullwhen none was configured. -
Constructor Summary
ConstructorsConstructorDescriptionNetworkEdge(EquinixCredentials equinixCredentials) Creates a new Network Edge client using the provided credentials.NetworkEdge(EquinixCredentials equinixCredentials, boolean isSandBoxed) Creates a new Network Edge client with optional sandbox mode.NetworkEdge(EquinixCredentialsProvider credentialsProvider) Creates a new Network Edge client whose credentials are resolved through the given provider.NetworkEdge(EquinixCredentialsProvider credentialsProvider, boolean isSandBoxed) Creates a new Network Edge client over a custom credentials provider, with optional sandbox mode.NetworkEdge(EquinixCredentialsProvider credentialsProvider, EquinixConfig config) Creates a new NetworkEdge client over a custom credentials provider with explicitEquinixConfigoptions.NetworkEdge(EquinixCredentials equinixCredentials, EquinixConfig config) Creates a new NetworkEdge client with explicitEquinixConfigoptions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the client for managing Access Control List (ACL) templates.backups()Returns the client for managing device configuration backups.Returns the client for managing BGP peering sessions on virtual devices.Returns the client for managing device links between virtual network devices.devices()Returns the client for managing virtual network devices and device types.Returns the client for managing SSH public keys.setup()Returns the client for Network Edge setup and provisioning operations.vpns()Returns the client for managing VPN connections on virtual devices.Methods inherited from class EquinixClient
authenticate, close, coreModifier and TypeMethodDescriptionvoidExplicitly obtains a token from the configured source (an OAuth2 client-credentials mint, or theBearerTokenProvider) and stores it for subsequent API calls.voidclose()protected Corecore()Returns the internal core client for authentication and platform-level operations.
-
Constructor Details
-
NetworkEdge
Creates a new Network Edge client using the provided credentials. Authentication occurs automatically on the first API call.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIs
-
NetworkEdge
Creates a new Network Edge client with optional sandbox mode.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIsisSandBoxed-trueto use the sandbox environment for testing;falsefor production
-
NetworkEdge
Creates a new Network Edge client whose credentials are resolved through the given provider. Authentication occurs automatically on the first API call.- Parameters:
credentialsProvider- supplies the OAuth2 credentials for authenticating with Equinix APIs
-
NetworkEdge
Creates a new Network Edge client over a custom credentials provider, with optional sandbox mode.- Parameters:
credentialsProvider- supplies the OAuth2 credentials for authenticating with Equinix APIsisSandBoxed-trueto use the sandbox environment for testing;falsefor production
-
NetworkEdge
Creates a new NetworkEdge client with explicitEquinixConfigoptions.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIsconfig- the construction-time options
-
NetworkEdge
Creates a new NetworkEdge client over a custom credentials provider with explicitEquinixConfigoptions.- Parameters:
credentialsProvider- supplies the OAuth2 credentials for authenticating with Equinix APIsconfig- the construction-time options
-
-
Method Details
-
setup
-
devices
Returns the client for managing virtual network devices and device types. Devices are virtual appliances (routers, firewalls, SD-WAN) running at Equinix data centers. Supports creation via fluent builders, lifecycle management, and querying available device types.- Returns:
- the
Devicesclient for CRUD operations on virtual devices
-
publicKeys
Returns the client for managing SSH public keys. Public keys are uploaded and associated with virtual devices for secure SSH access without password-based authentication.- Returns:
- the
PublicKeysclient for managing SSH public keys
-
deviceLinks
Returns the client for managing device links between virtual network devices. Device links create logical connections between devices, enabling multi-device topologies and high-availability configurations.- Returns:
- the
DeviceLinksclient for creating and managing device links
-
aclTemplates
Returns the client for managing Access Control List (ACL) templates. ACL templates define network access rules that can be applied to virtual devices to control inbound and outbound traffic.- Returns:
- the
ACLTemplatesclient for CRUD operations on ACL templates
-
vpns
-
bgpPeerings
Returns the client for managing BGP peering sessions on virtual devices. BGP peerings enable dynamic route exchange between virtual devices and neighboring routers for network reachability.- Returns:
- the
BGPPeeringsclient for configuring BGP peering sessions
-
backups
-