How to update postgres flexible server private dns zone using azure cli

Mintu 20 Reputation points

I can change the private dns zone of an existing Azure postgres flexible server, however I would like to update the same using azure cli. I don't find an option in

 az postgres flexible-server update 

Isn't this possible?

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. Rahul Randive 9,176 Reputation points Microsoft Employee

    Thanks for your question, Mintu

    It appears that modifications to "Network Connection" and "Virtual Network" settings for an Azure Database for PostgreSQL Flexible Server (as of now) cannot be update using Azure CLI or other command-line interfaces.

    These changes can exclusively be performed through the graphical user interface (GUI) of the Azure Portal.

    By the way it can be changed through ARM Rest APIs:


    Please let us know if this help or if you have any additional questions.

    Thank you!

    0 comments No comments

0 additional answers

Sort by: Most helpful