Get information about all agent pools

Return a JSON Array representation of all agent pools.

Request

GET https://{hostname}:{port}
  /build/rest2/agentPools
This command takes a JSON request string or file. Use the following template for the request:
[{
  "id": "The id of the agent pool.",
  "name": "The name of the agent pool."
}]