Hello @Aleksandr Slypchenko ,
Please use -d option in az vm show command
Example command for my VM:
az vm show -d -g cks -n worker1 --query publicIps -o tsv
See the screen shots of the difference when you use -d option and with out that option:
Regards,
Shiva.