Class AgentsImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.AgentsImpl
All Implemented Interfaces:
Agents

public class AgentsImpl extends Object implements Agents
  • Constructor Details

    • AgentsImpl

      public AgentsImpl()
  • Method Details

    • list

      public PaginatedList<Agent> list()
      Description copied from interface: Agents
      Lists all agents accessible to the current account.
      Specified by:
      list in interface Agents
      Returns:
      a paginated list of agents
    • getByUuid

      public Agent getByUuid(String uuid)
      Description copied from interface: Agents
      Retrieves a single agent by its unique identifier.
      Specified by:
      getByUuid in interface Agents
      Parameters:
      uuid - the unique identifier of the agent
      Returns:
      the agent matching the given UUID
    • define

      public AgentOperator.AgentBuilder define(String type)
      Description copied from interface: Agents
      Begins the fluent builder for creating a new agent.
      Specified by:
      define in interface Agents
      Parameters:
      type - the agent type (for example ANO_AGENT)
      Returns:
      a builder for configuring the new agent
    • activities

      public List<AgentActivity> activities(String agentId)
      Description copied from interface: Agents
      Lists the activities (operations) performed by an agent.
      Specified by:
      activities in interface Agents
      Parameters:
      agentId - the unique identifier of the agent
      Returns:
      the list of agent activities