bulkSetAgentJavaHome
Set the configured JAVA_HOME of agents in bulk
This command requests a set of agents set JAVA_HOME, but does not wait for or report the results. Each new JAVA_HOME will not take effect until the respective agent is restarted. The returned maintenance tasks can be used to query the results.Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.
Format
udclient [global-args...] [global-flags...]
bulkSetAgentJavaHome [JSON file]
Parameters
None.Template
This command takes a JSON request string or file. Use the following template for the request:
{
"README": "See entity attribute for the template
description expected by this endpoint.",
"entity": [{
"agent": "Name or ID of an agent",
"javahome": "Name of managed Java install or absolute
path of a valid JAVA_HOME directory"
}]
}
Related REST command: Set the configured JAVA_HOME of agents in bulk.