Hi @Abdul Rafay Khan , welcome to Microsoft Q&A forum.
As mentioned in the thread, you are not able to see the 'Deny Public Network Access' option in Azure PostgreSQL server.
Deny Public Network Access option is available only for General Purpose or Memory Optimized pricing tier.
Deny Public Network Access in Azure Database for PostgreSQL Single server using Azure portal
I created the server on general purpose and I can see the option as mentioned in the below screenshot:
How to check current pricing tier: You can check the pricing tier as mentioned in the below screenshot:
----------
If answer is helpful please please click on
as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions. Thank you for helping to improve Microsoft Q&A!