proxy
Description
Provides methods to activate/deactivate a proxy server.
Namespace:
proxy
Method: activateProxy
Description:
Activates the proxy identified by the given client certificate i.e. systemid file.
Parameters:
-
string clientcert - client certificate file
-
string version - Version of proxy to be registered.
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: createMonitoringScout
Description:
Create Monitoring Scout for proxy.
Parameters:
-
string clientcert - client certificate file
Returns:
-
string
Available since API version: 10.7
Method: deactivateProxy
Description:
Deactivates the proxy identified by the given client certificate i.e. systemid file.
Parameters:
-
string clientcert - client certificate file
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: isProxy
Description:
Test, if the system identified by the given client certificate i.e. systemid file, is proxy.
Parameters:
-
string clientcert - client certificate file
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: listAvailableProxyChannels
Description:
List available version of proxy channel for system identified by the given client certificate i.e. systemid file.
Parameters:
-
string clientcert - client certificate file
Returns:
-
string array version
Available since API version: 10.5
Method: listProxies
Description:
List the proxies within the user’s organization.
Parameters:
-
string sessionKey
Returns:
-
array :
-
struct system
-
int "id"
-
string "name"
-
dateTime.iso8601 "last_checkin" - last time server successfully checked in
-
dateTime.iso8601 "created" - server registration time
-
dateTime.iso8601 "last_boot" - last server boot time
-
int "extra_pkg_count" - number of packages not belonging to any assigned channel
-
int "outdated_pkg_count" - number of out-of-date packages
-
Method: listProxyClients
Description:
List the clients directly connected to a given Proxy.
Parameters:
-
string sessionKey
-
int proxyId
Returns:
-
int array clientId