I have got an Event Hub that is currently inside a Virtual Network. I have got my public IP added to a Network Security Rule, however when I try and connect to my Event Hub I get the following error:
Ip has been prevented to connect to the endpoint
I have looked at the following guide: https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-ip-filtering
And this does work, however, is there any benefit to putting the Event Hub inside a Virtual Network vs filtering IPs following the steps in the guide?
The requirements I would like to meet is being able to lock an Event Hub down so that specific Public IPs can read and write to Event Hub, and allow an Azure Function to trigger off Event Hub.
The Security Group (
allowSpecificRanges) has my public IP in.
Am I missing a step here?