Skip to content

Instantly share code, notes, and snippets.

@ksatirli
Created October 26, 2017 14:55
Show Gist options
  • Save ksatirli/431fec36c884af5ee56b2b51101ce4e6 to your computer and use it in GitHub Desktop.
Save ksatirli/431fec36c884af5ee56b2b51101ce4e6 to your computer and use it in GitHub Desktop.
get Azure RM Virtual Machine Plan Details
# login to Azure CLI
az login
# complete flow by opening aka.ms/devicelogin and entering code
# list Azure VMs, pipe to `jq`, then get `plan` details of 0th instance
az vm list | jq .[0].plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment