IAgentManager Interface

Relativity Services API
Exposes methods for creating, reading, updating, and deleting agents, as well as various helper methods.

Namespace:  Relativity.Services.Interfaces.Agent
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public interface IAgentManager : IDisposable

The IAgentManager type exposes the following members.

Methods

  NameDescription
Public methodCreateAsync(Int32, AgentRequest)
Adds a single agent to Relativity.
Public methodCreateAsync(Int32, AgentRequest, Int32)
Adds multiple copies of an agent to Relativity.
Public methodDeleteAsync(Int32, Int32)
Removes an agent after it finishes executing.
Public methodDeleteAsync(Int32, Int32, Boolean)
Removes an agent conditionally waiting for it to finish executing.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetAgentServersAsync
Retrieves a list of all agent servers in a Relativity environment.
Public methodGetAgentTypesAsync
Retrieves a list of agent types.
Public methodGetAvailableAgentServersAsync(Int32, Guid)
Uses the GUID of a specific agent type to retrieve a list of compatible agent servers.
Public methodGetAvailableAgentServersAsync(Int32, Int32)
Uses the Artifact ID of a specific agent type to retrieve a list of compatible agent servers.
Public methodReadAsync(Int32, Int32)
Retrieves basic metadata for an agent, including its name, type, interval, and other properties.
Public methodReadAsync(Int32, Int32, Boolean, Boolean)
Retrieves extended metadata for an agent, including information about additional actions available.
Public methodUpdateAsync(Int32, Int32, AgentRequest)
Modifies the properties of an agent.
Public methodUpdateAsync(Int32, Int32, AgentRequest, DateTime)
Restricts updates to the properties of the agent to the date that it was last modified
Public methodValidateCreateInstanceLimitAsync
Indicates whether adding a new agent exceeds the limits for the agent type in a Relativity environment or server.
Public methodValidateDeleteInstanceLimitAsync
Indicates whether deleting an agent violates the lower limit for an agent type in a Relativity environment, resource pool, or server.
Public methodValidateUpdateInstanceLimitAsync
Indicates whether modifying an agent violates the minimum or maximum limit for the agent type in a Relativity environment, resource pool, or server.
Top
See Also

Reference