LoginSignup
2
2

More than 5 years have passed since last update.

Azure CLIとjqでPublicなLinux VMイメージのリストを取得する

Last updated at Posted at 2015-03-11

Azure CLIのインストールと設定

こちらを参照ください
http://azure.microsoft.com/ja-jp/documentation/articles/xplat-cli/

jqについて

こちらを(ry
http://stedolan.github.io/jq/

コマンド

azure vm image list --json | jq '. | map(select(.category=="public", .operatingSystemType=="Linux"))'

MSさんに一言

標準イメージのIDが欲しかっただけなので、WebコンソールのVM起動画面の端っこにでもイメージID書いておいてくれても良いんですよ…

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2