Hello Jonah,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your concerns are about customization of network Egress in Azure Container App Session Pools.
As a developer, this is insightful. Like you're looking for a way to allow some outbound connections while restricting others, similar to what Modal offers. Azure Container Apps provides robust options to achieve this, ensuring your applications can securely and efficiently manage network traffic.
Firstly, Azure Container Apps Session Pools allow you to toggle network egress on and off. However, for more granular control, you can configure network access settings on the session pool. This includes specifying which outbound connections are allowed or blocked - https://learn.microsoft.com/en-us/azure/container-apps/sessions this level of control give help to manage and secure the network traffic more precisely.
Secondly, it a capital YES, you can specify a custom CIDR range for network egress in Azure Container Apps. This is particularly useful for defining specific network boundaries and ensuring that outbound traffic adheres to your network policies - https://techcommunity.microsoft.com/blog/azurepaasblog/securing-network-egress-in-azure-container-apps/3915548
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.