Get information about all dynamic agent pools
Return a JSON Array representation of all dynamic agent pools.
Request
GET https://{hostname}:{port}
/build/rest2/dynamicAgentPools
This command takes a JSON request string or file. Use the following template for the request:
[{
"group": {
"groups": "The list of group rules.",
"logic": "The logic of the group rule. This should be
'AND' or 'OR'.",
"rules": [{
"condition": "The condition of the rule. This should
be 'IS_EQUAL_TO', 'IS_NOT_EQUAL_TO', 'CONTAINS',
'DOES_NOT_CONTAIN', 'IS_GREATER_THAN', 'IS_LESS_THAN',
'IS_GREATER_THAN_OR_EQUAL_TO', 'IS_LESS_THAN_OR_EQUAL_TO',
'EXISTS' or 'DOES_NOT_EXIST'.",
"conditionValue": "The value of the condition.",
"type": "The type of the rule. This should be
'NAME', 'PROPERTY', 'THROUGHPUT', 'MAX_JOBS' or
'DESCRIPTION'."
}]
},
"id": "The id of the dynamic agent pool.",
"name": "The name of the dynamci agent pool."
}]
