azukipochette's weblog

memory dump (mini)

Azure Pipelines の Pool を調べる

Azure DevOps 向けの拡張機能を Azure CLI にインストールし、次のコマンドを実行すればよい。 なお、事前に az login でログインしておく必要がある。

アクセスできるプールは組織 (orgnization, 旧VSTSアカウント) 次第なので、下記の結果は参考程度に見てほしい。

C:\Works>az pipelines pool list -o table
This command group is in preview. It may be changed/removed in a future release.
ID    Name                             Is Hosted    Pool Type
----  -------------------------------  -----------  -----------
1     Default                          False        automation
2     Hosted                           True         automation
4     Hosted VS2017                    True         automation
5     Hosted macOS                     True         automation
6     Hosted Ubuntu 1604               True         automation
7     Hosted Windows Container         True         automation
8     Hosted Windows 2019 with VS2019  True         automation
9     Hosted macOS High Sierra         True         automation
10    Azure Pipelines                  True         automation

なお、YAML で pool の指定をする場合の名前はこのコマンドでは取得できず、以下の URL の記載を確認する必要がある *1

docs.microsoft.com

*1:なんで取れないねん!と私は思う...