Agent

Reference

Examples

# Get pool by agent name
agent = "linux-ci-01.example.com"
pool = teamcity.agents.get("name:{}".format(agent)).pool.name