I don't even know if this is possible. But I have a VM in azure running just private IP. I can access this VM from my azure web app when it is running in Azure.
But I need to develop against it and I am running VSCode etc locally and I'm able to access cosmodb and other azure services without issue. But I cannot access this VM as it is closed off publicly.
So I am wondering whether I can add my public static IP to the VNet that the service is running in. I cannot find anything via google about this so far but it seems like a common use case and maybe I am searching for the wrong thing.
Can anyone point me in the right direction?