Package api.equinix.javasdk
Class Projects
java.lang.Object
api.equinix.javasdk.EquinixClient
api.equinix.javasdk.Projects
- All Implemented Interfaces:
Service,Closeable,AutoCloseable
The primary entry point for accessing Equinix Projects APIs.
Projects provides organizational management for Equinix resources, allowing users to group and manage related infrastructure components under named projects.
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");
Projects projects = new Projects(credentials);
// List all projects
PaginatedList<Project> projectList = projects.projects().list();
- Author:
- ianjones
- See Also:
-
Field Summary
Fields inherited from class api.equinix.javasdk.EquinixClient
equinixClient -
Constructor Summary
ConstructorsConstructorDescriptionProjects(EquinixCredentials equinixCredentials) Creates a new Projects client using the provided credentials.Projects(EquinixCredentials equinixCredentials, boolean isSandBoxed) Creates a new Projects client with optional sandbox mode. -
Method Summary
Methods inherited from class api.equinix.javasdk.EquinixClient
authenticate, close, core
-
Constructor Details
-
Projects
Creates a new Projects client using the provided credentials. Authentication occurs automatically on the first API call.- Parameters:
equinixCredentials- the OAuth2 credentials for authenticating with Equinix APIs
-
Projects
Creates a new Projects 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
-
projects
Returns the client for managing Equinix projects. Projects are organizational containers for grouping related infrastructure resources.- Returns:
- the
ProjectListclient for creating, listing, and managing projects
-