title: How to demand multiple agent machines in Azure devops pipeline pool?
body: <p>I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand</p>
  <p><img src="https://i.stack.imgur.com/Rc0za.png" alt="Pipeline UI" /></p>
  <p>The same in yaml is as follows,</p>
  <pre><code>pool:
    name: AWS Pool
    demands:
    - Agent.Name -equals simLin02
    - Agent.Name -equals ubuAgent01
  </code></pre>
  <p>I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent names(specific agent names because not all agents in the pool have desired capability) for the pipeline to choose from.</p>
  <pre><code>pool:
    name: AWS Pool
    demands:
    - Agent.Name -in (simLin02, ubuAgent01)
  </code></pre>