CmdID / az / az postgres / az postgres flexible-server
az postgres flexible-server connect
Connect to a flexible server. Azure CLI extensions reference
6 options Its page in the Azure CLI extensions reference
Options
--admin-password, -pThe login password of the administrator.--admin-user, -uThe login username of the administrator.--database-name, -dThe name of a database.--interactivePass this parameter to connect to database in interactive mode.--name, -nName of the server.--querytext, -qA query to run against the flexible server.