You just want to manage the VM? Or is any service running on the VM is published with a public IP?
For management you have the following options for example:
- Use a VPN PointToSite connection to the virtual network and don't use a public IP on the VM
- Use Azure Bastion and don't use a public IP on the VM
Maybe this is helpful.
Regards
Andreas Baumgarten
(Please don't forget to Accept as answer if the reply is helpful)