getAgentPools

Get information about all agent pools

Return a JSON representation of all agent pools.

Format

udclient [global-args...] [global-flags...]
  getAgentPools [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
active boolean false

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  getAgentPools

Example response

[
  {
    "id": "11dda768-525d-4055-a7d2-5fb0e86ad236",
    "name": "Pool1",
    "active": true,
    "description": "",
    "status": "ONLINE"
  },
  {
    "id": "8bfa2e62-2376-466c-91c5-3f79b3e6f655",
    "name": "Pool2",
    "active": true,
    "description": "",
    "status": "ONLINE"
  }
]

Related REST command: Get information about all agent pools.