Created
October 26, 2017 14:55
-
-
Save ksatirli/431fec36c884af5ee56b2b51101ce4e6 to your computer and use it in GitHub Desktop.
get Azure RM Virtual Machine Plan Details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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