Use az cli to Query Multiple Fields of Resource Information
Use az cli
to query multiple fields of VM information.
Here we need to use JMESPath language to implement it.
Typically, we will use az vm show
to get the detailed VM
information:
$ az vm show -g Linux -n alpha -d -o table
Name ResourceGroup PowerState PublicIps Fqdns Location Zones
------ --------------- ------------ ------------ ------- ---------- -------
alpha Linux VM running 11.1.111.111 eastasia 1