In AzureDevops yaml pipeline, can we define multiple node pools to the same stage. For example we have vm [vmpool] based and docker [dockerpool] based build agents and they are belongs to separate pools. But Some our pipeline stages can be run in any of these pools and where as some pipelines stages need to be run specific pools. So looking for a way to multiple nodepools for the stages where we can run in both the pools. Secondly, ca we define the precedence to the stages like, first need to check the available vms in the vmpool, if no vms are free to schedule, then schedul the dockerpool.
By going through the docs, I couldn't find any helpful information on this.