Class InternetAccess
- All Implemented Interfaces:
Closeable, AutoCloseable
Equinix Internet Access provides managed internet connectivity services through Equinix
data centers. The services() accessor exposes the full EIA v2 service lifecycle
(create / get / update / delete / search) and the ibxs() accessor exposes the EIA v2
product-availability lookup (GET /internetAccess/v2/ibxs). The remaining accessors expose
the EIA v1 read API used when building EIA requests - price search, accounts/agreements, terms and
conditions, operational units, signature policies, the attribute/default-configuration lookups,
purchase orders, the product-availability inventory (cages/cabinets/patch panels/connection
services), order history, and a single-IBX get.
Each accessor uses lazy initialization - the internal client is created on first access and reused for subsequent calls.
Scope (v1 selective)
This domain surfaces the EIA v2 service lifecycle plus the read-only EIA v1 API. The v1 surfaces exposed are:
Price search-POST /internetAccess/v1/prices/search.Accounts-GET /internetAccess/v1/accounts,.../{accountNumber}and.../{accountNumber}/agreements.Terms and conditions-GET /internetAccess/v1/terms.Operational units-GET /internetAccess/v1/operationalUnits.Signature policies-GET /internetAccess/v1/signaturePolicies.Attribute/default configurations-routingProtocolConfigurations,dedicatedBandwidthConfigurations,virtualBandwidthConfigurations,virtualConnectionDefaultConfigurations,customerRouteConfigurations,dedicatedPortDefaultConfigurationsandportConfigurations(all underGET /internetAccess/v1/).Purchase orders-GET /internetAccess/v1/accounts/{accountNumber}/purchaseOrdersand.../{number}.- Product-availability inventory -
cages,cabinets,patch panelsandconnection services(all underGET /internetAccess/v1/). Order history-GET /internetAccess/v1/orders/{orderUUID}.- Single-IBX get -
GET /internetAccess/v1/ibxs/{ibx}, viaibxs().getByCode(...).
The v1 service create/delete/search/details operations are intentionally not
exposed, as they are superseded by the v2 service lifecycle.
Unified EIA API (Fabric v4)
Since 2026-07 the Unified EIA API lives in Fabric v4: unifiedServices()
(/fabric/v4/internetAccessServices) and ipBlocks() (/fabric/v4/ipBlocks).
They are the Fabric.eiaServices() and Fabric.ipBlocks() clients, reachable here
over the same core client. IP Blocks are standalone since 2026-05 and survive the termination of
the service that uses them.
Quick Start
BasicEquinixCredentials credentials = new BasicEquinixCredentials("clientId", "clientSecret");
InternetAccess internetAccess = new InternetAccess(credentials);
InternetAccessService service = internetAccess.services().define()
.name("WebServers")
.type(ServiceTypeV2.SINGLE)
.connection("9b8c5042-b553-4d5e-a2ac-c73bf6d4fd81")
.routingProtocol(BgpRoutingProtocolRequest.builder()
.customerAsn(16220L)
.exportPolicy(ExportPolicy.FULL)
.build())
.create();
- 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
ConstructorsConstructorDescriptionInternetAccess(EquinixCredentials equinixCredentials) Creates a new Internet Access client using the provided credentials.InternetAccess(EquinixCredentials equinixCredentials, boolean isSandBoxed) Creates a new Internet Access client with optional sandbox mode.InternetAccess(EquinixCredentialsProvider credentialsProvider) Creates a new Internet Access client whose credentials are resolved through the given provider.InternetAccess(EquinixCredentialsProvider credentialsProvider, boolean isSandBoxed) Creates a new Internet Access client over a custom credentials provider, with optional sandbox mode.InternetAccess(EquinixCredentialsProvider credentialsProvider, EquinixConfig config) Creates a new InternetAccess client over a custom credentials provider with explicitEquinixConfigoptions.InternetAccess(EquinixCredentials equinixCredentials, EquinixConfig config) Creates a new InternetAccess client with explicitEquinixConfigoptions. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()Returns the client for the Equinix Internet Access v1 accounts lookups - the accounts available for EIA ordering (GET /internetAccess/v1/accounts), a single account (.../{accountNumber}) and account agreement statuses (.../{accountNumber}/agreements).cabinets()Returns the client for the Equinix Internet Access v1 cabinets product-availability lookup (GET /internetAccess/v1/cabinets).cages()Returns the client for the Equinix Internet Access v1 cages product-availability lookup (GET /internetAccess/v1/cages).Returns the client for the Equinix Internet Access v1 connection-services product-availability lookup (GET /internetAccess/v1/connectionServices).ibxs()Returns the client for the Equinix Internet Access product-availability IBX lookups - the v2 list of IBXs where EIA is available (GET /internetAccess/v2/ibxs) and the v1 single-IBX get (GET /internetAccess/v1/ibxs/{ibx}).ipBlocks()Returns the client for Fabric v4 IP Blocks (/fabric/v4/ipBlocks), the address space used by Unified EIA services.Returns the client for the Equinix Internet Access v1 operational-units lookup (GET /internetAccess/v1/operationalUnits).orders()Returns the client for the Equinix Internet Access v1 order lookup (GET /internetAccess/v1/orders/{orderUUID}).Returns the client for the Equinix Internet Access v1 patch-panels product-availability lookup (GET /internetAccess/v1/patchPanels).prices()Returns the client for the Equinix Internet Access v1 price search (POST /internetAccess/v1/prices/search).Returns the client for the Equinix Internet Access v1 attribute-eligibility / default configuration lookups - routing, dedicated/virtual bandwidth, virtual-connection default, customer-route, dedicated-port default and port configurations (all underGET /internetAccess/v1/).Returns the client for the Equinix Internet Access v1 purchase-order lookups - the purchase orders for an account (GET /internetAccess/v1/accounts/{accountNumber}/purchaseOrders) and a single purchase order (.../{number}).services()Returns the client for managing the Equinix Internet Access v2 service lifecycle (create / get / update / delete / search).Returns the client for the Equinix Internet Access v1 signature-policies lookup (GET /internetAccess/v1/signaturePolicies).Returns the client for the Equinix Internet Access v1 terms-and-conditions lookup (GET /internetAccess/v1/terms).Returns the client for the Unified EIA API in Fabric v4 (/fabric/v4/internetAccessServices), available since 2026-07.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
-
InternetAccess
Creates a new Internet Access client using the provided credentials. Authentication occurs automatically on the first API call.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIs
-
InternetAccess
Creates a new Internet Access client with optional sandbox mode.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIsisSandBoxed-trueto use the sandbox environment for testing;falsefor production
-
InternetAccess
Creates a new Internet Access 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
-
InternetAccess
Creates a new Internet Access 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
-
InternetAccess
Creates a new InternetAccess client with explicitEquinixConfigoptions.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIsconfig- the construction-time options
-
InternetAccess
Creates a new InternetAccess 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
-
services
Returns the client for managing the Equinix Internet Access v2 service lifecycle (create / get / update / delete / search).- Returns:
- the
InternetAccessServicesclient
-
ibxs
Returns the client for the Equinix Internet Access product-availability IBX lookups - the v2 list of IBXs where EIA is available (GET /internetAccess/v2/ibxs) and the v1 single-IBX get (GET /internetAccess/v1/ibxs/{ibx}).- Returns:
- the
InternetAccessIbxsclient
-
prices
Returns the client for the Equinix Internet Access v1 price search (POST /internetAccess/v1/prices/search).- Returns:
- the
InternetAccessPricesclient
-
accounts
Returns the client for the Equinix Internet Access v1 accounts lookups - the accounts available for EIA ordering (GET /internetAccess/v1/accounts), a single account (.../{accountNumber}) and account agreement statuses (.../{accountNumber}/agreements).- Returns:
- the
InternetAccessAccountsclient
-
termsAndConditions
Returns the client for the Equinix Internet Access v1 terms-and-conditions lookup (GET /internetAccess/v1/terms).- Returns:
- the
InternetAccessTermsclient
-
operationalUnits
Returns the client for the Equinix Internet Access v1 operational-units lookup (GET /internetAccess/v1/operationalUnits).- Returns:
- the
InternetAccessOperationalUnitsclient
-
signaturePolicies
Returns the client for the Equinix Internet Access v1 signature-policies lookup (GET /internetAccess/v1/signaturePolicies).- Returns:
- the
InternetAccessSignaturePoliciesclient
-
productConfigurations
Returns the client for the Equinix Internet Access v1 attribute-eligibility / default configuration lookups - routing, dedicated/virtual bandwidth, virtual-connection default, customer-route, dedicated-port default and port configurations (all underGET /internetAccess/v1/).- Returns:
- the
InternetAccessProductConfigurationsclient
-
purchaseOrders
Returns the client for the Equinix Internet Access v1 purchase-order lookups - the purchase orders for an account (GET /internetAccess/v1/accounts/{accountNumber}/purchaseOrders) and a single purchase order (.../{number}).- Returns:
- the
InternetAccessPurchaseOrdersclient
-
orders
Returns the client for the Equinix Internet Access v1 order lookup (GET /internetAccess/v1/orders/{orderUUID}).- Returns:
- the
InternetAccessOrdersclient
-
cages
Returns the client for the Equinix Internet Access v1 cages product-availability lookup (GET /internetAccess/v1/cages).- Returns:
- the
InternetAccessCagesclient
-
cabinets
Returns the client for the Equinix Internet Access v1 cabinets product-availability lookup (GET /internetAccess/v1/cabinets).- Returns:
- the
InternetAccessCabinetsclient
-
patchPanels
Returns the client for the Equinix Internet Access v1 patch-panels product-availability lookup (GET /internetAccess/v1/patchPanels).- Returns:
- the
InternetAccessPatchPanelsclient
-
connectionServices
Returns the client for the Equinix Internet Access v1 connection-services product-availability lookup (GET /internetAccess/v1/connectionServices).- Returns:
- the
InternetAccessConnectionServicesclient
-
unifiedServices
Returns the client for the Unified EIA API in Fabric v4 (/fabric/v4/internetAccessServices), available since 2026-07.This is the same client as
Fabric.eiaServices(), created over this client's core client (same OAuth token and connection pool); it adds no new endpoints. New EIA integrations should prefer it to the EIA v2services()lifecycle under/internetAccess/v2/services, which remains available while its spec is published.- Returns:
- the Fabric v4
EiaServicesclient
-
ipBlocks
Returns the client for Fabric v4 IP Blocks (/fabric/v4/ipBlocks), the address space used by Unified EIA services.The same client as
Fabric.ipBlocks(), created over this client's core client. Since 2026-05 IP Blocks are standalone resources: an IP Block is not deleted when the EIA service that uses it is terminated, and can be attached to another service. Delete an IP Block explicitly when it is no longer needed.- Returns:
- the Fabric v4
IpBlocksclient
-