Dashboard > Pulse v2.1 > ... > Remote API Functions > RemoteApi.getAgentEnableState
  Pulse v2.1 Log In | Sign Up   View a printable version of the current page.  
  RemoteApi.getAgentEnableState
Added by Daniel Ostermeier, last edited by Daniel Ostermeier on Jun 18, 2010  (view change)
Labels: 
(None)

Pulse Manual Index

Synopsis

string getAgentEnableState(string token, string name)

Parameters

Parameter Type Description
token string Authentication token (see RemoteApi.login).
name string The name of the agent to retrieve the state for.

Returns

string: The current state of the given agent.

Faults

Fault Type Fault Reason
IllegalArgumentException If the given agent does not exist.

Description

Returns the state of the given agent as a simple string. Possible states are:

  • enabled
  • disabled
  • disabling

Access

Available to users with view permission for the given agent.

See Also

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators