title | description | services | author | ms.author | manager | editor | ms.service | ms.devlang | ms.topic | ms.custom | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|
Azure CLI samples for Azure Database for PostgreSQL |
This article lists several Azure CLI code samples available for interacting with Azure Database for PostgreSQL servers. |
postgresql |
rachel-msft |
raagyema |
kfile |
jasonwhowell |
postgresql |
azure-cli |
sample |
sample, mvc |
02/28/2018 |
The following table includes links to sample Azure CLI scripts for Azure Database for PostgreSQL.
Create a server | |
Create a server and firewall rule | Azure CLI script that creates an Azure Database for PostgreSQL server and configures a server-level firewall rule. |
Scale a server | |
Scale a server | Azure CLI script that scales an Azure Database for PostgreSQL server up or down to allow for changing performance needs. |
Change server configurations | |
Change server configurations | Azure CLI script that change configurations options of an Azure Database for PostgreSQL server. |
Restore a server | |
Restore a server | Azure CLI script that restores an Azure Database for PostgreSQL server to a previous point in time. |
Download server logs | |
Enable and download server logs | Azure CLI script that enables and downloads server logs of an Azure Database for PostgreSQL server. |