When I create a VM using the below command, the public ip is not showing up, despite showing up in the network commands:
az vm create -n Demo$1VM -g Demo$1 --ssh-dest-key-path ~/.ssh/id_rsa.pub --admin-username ops -l westus --admin-password "Password3#3asdf" --image UbuntuLTS --public-ip-address-type new
(env) jasonsha@JasonShaMBP: ~/temp/demo513 $ az vm list-ip-addresses -g demo517
(env) jasonsha@JasonShaMBP: ~/temp/demo513 $