udclient [global-args...] [global-flags...]
createAgentPool [JSON file]
{
"agents": [
"Agent ID or name",
"Agent ID or name (repeat as necessary)"
],
"description": "Description",
"name": "Name of the agent pool"
}
udclient -username admin -password admin
-weburl https://myserver.example.com:8443
createAgentPool newPool.json
{
"name": "New pool",
"description": "My new agent pool",
"agents": [
"Agent1",
"Agent2"
]
}
{
"id": "62eb25dd-edc0-4900-a4c7-25b440abb1a3",
"name": "New pool",
"active": true,
"description": "My new agent pool",
"status": "ONLINE"
}
Related REST command: Create an agent pool.