az postgres
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage Azure Database for PostgreSQL servers.
Commands
Name | Description | Type | Status |
---|---|---|---|
az postgres db |
Manage PostgreSQL databases on a server. |
Core | GA |
az postgres db create |
Create a PostgreSQL database. |
Core | GA |
az postgres db delete |
Delete a database. |
Core | GA |
az postgres db list |
List the databases for a server. |
Core | GA |
az postgres db show |
Show the details of a database. |
Core | GA |
az postgres flexible-server |
Manage Azure Database for PostgreSQL Flexible Servers. |
Core and Extension | GA |
az postgres flexible-server ad-admin |
Manage server Active Directory administrators. |
Core | GA |
az postgres flexible-server ad-admin create |
Create an Active Directory administrator. |
Core | GA |
az postgres flexible-server ad-admin delete |
Delete an Active Directory administrator. |
Core | GA |
az postgres flexible-server ad-admin list |
List all Active Directory administrators. |
Core | GA |
az postgres flexible-server ad-admin show |
Get an Active Directory administrator. |
Core | GA |
az postgres flexible-server ad-admin wait |
Wait for an Active Directory administrator to satisfy certain conditions. |
Core | GA |
az postgres flexible-server advanced-threat-protection-setting |
Manage advanced threat protection setting for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server advanced-threat-protection-setting show |
Get advanced threat protection settings for a PostgreSL flexible server. |
Core | GA |
az postgres flexible-server advanced-threat-protection-setting update |
Updates advanced threat protection setting state for a flexible server. |
Core | GA |
az postgres flexible-server backup |
Manage flexible server backups. |
Core | GA |
az postgres flexible-server backup list |
List all the backups for a given server. |
Core | GA |
az postgres flexible-server backup show |
Show the details of a specific backup for a given server. |
Core | GA |
az postgres flexible-server connect |
Connect to a flexible server. |
Extension | GA |
az postgres flexible-server create |
Create a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server db |
Manage PostgreSQL databases on a flexible server. |
Core | GA |
az postgres flexible-server db create |
Create a PostgreSQL database on a flexible server. |
Core | GA |
az postgres flexible-server db delete |
Delete a database on a flexible server. |
Core | GA |
az postgres flexible-server db list |
List the databases for a flexible server. |
Core | GA |
az postgres flexible-server db show |
Show the details of a database. |
Core | GA |
az postgres flexible-server delete |
Delete a flexible server. |
Core | GA |
az postgres flexible-server deploy |
Enable and run GitHub Actions workflow for PostgreSQL server. |
Core | GA |
az postgres flexible-server deploy run |
Run an existing workflow in your github repository. |
Core | GA |
az postgres flexible-server deploy setup |
Create GitHub Actions workflow file for PostgreSQL server. |
Core | GA |
az postgres flexible-server execute |
Connect to a flexible server. |
Extension | GA |
az postgres flexible-server firewall-rule |
Manage firewall rules for a server. |
Core | GA |
az postgres flexible-server firewall-rule create |
Create a new firewall rule for a flexible server. |
Core | GA |
az postgres flexible-server firewall-rule delete |
Delete a firewall rule. |
Core | GA |
az postgres flexible-server firewall-rule list |
List all firewall rules for a flexible server. |
Core | GA |
az postgres flexible-server firewall-rule show |
Get the details of a firewall rule. |
Core | GA |
az postgres flexible-server firewall-rule update |
Update a firewall rule. |
Core | GA |
az postgres flexible-server geo-restore |
Geo-restore a flexible server from backup. |
Core | GA |
az postgres flexible-server identity |
Manage server user assigned identities. |
Core | GA |
az postgres flexible-server identity assign |
Add user asigned managed identities to the server. |
Core | GA |
az postgres flexible-server identity list |
List all user assigned managed identities from the server. |
Core | GA |
az postgres flexible-server identity remove |
Remove user asigned managed identites from the server. |
Core | GA |
az postgres flexible-server identity show |
Get an user assigned managed identity from the server. |
Core | GA |
az postgres flexible-server list |
List available flexible servers. |
Core | GA |
az postgres flexible-server list-skus |
Lists available sku's in the given region. |
Core | GA |
az postgres flexible-server migration |
Manage migration workflows for PostgreSQL Flexible Servers. |
Core | GA |
az postgres flexible-server migration check-name-availability |
Checks if the provided migration-name can be used. |
Core | GA |
az postgres flexible-server migration create |
Create a new migration workflow for a flexible server. |
Core | GA |
az postgres flexible-server migration list |
List the migrations of a flexible server. |
Core | GA |
az postgres flexible-server migration show |
Get the details of a specific migration. |
Core | GA |
az postgres flexible-server migration update |
Update a specific migration. |
Core | GA |
az postgres flexible-server parameter |
Commands for managing server parameter values for flexible server. |
Core | GA |
az postgres flexible-server parameter list |
List the parameter values for a flexible server. |
Core | GA |
az postgres flexible-server parameter set |
Update the parameter of a flexible server. |
Core | GA |
az postgres flexible-server parameter show |
Get the parameter for a flexible server.". |
Core | GA |
az postgres flexible-server private-endpoint-connection |
Manage PostgreSQL flexible server private endpoint connections. |
Core | GA |
az postgres flexible-server private-endpoint-connection approve |
Approve the specified private endpoint connection associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-endpoint-connection delete |
Delete the specified private endpoint connection associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-endpoint-connection list |
List all private endpoint connections associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-endpoint-connection reject |
Reject the specified private endpoint connection associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-endpoint-connection show |
Show details of a private endpoint connection associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-link-resource |
Get Private link resource for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-link-resource list |
List private link resources associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-link-resource show |
Get private link resource for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server replica |
Manage read replicas. |
Core | GA |
az postgres flexible-server replica create |
Create a read replica for a server. |
Core | GA |
az postgres flexible-server replica list |
List all read replicas for a given server. |
Core | GA |
az postgres flexible-server replica promote |
Stop replication of a read replica and promote it to an independent server or as a primary server. |
Core | GA |
az postgres flexible-server replica stop-replication |
Stop replication to a read replica and make it a read/write server. |
Core | Deprecated |
az postgres flexible-server restart |
Restart a flexible server. |
Core | GA |
az postgres flexible-server restore |
Restore a flexible server from backup. |
Core | GA |
az postgres flexible-server revive-dropped |
Revive a dropped flexible server from backup. |
Core | GA |
az postgres flexible-server server-logs |
Manage server logs (log files) for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server server-logs download |
Download log files for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server server-logs list |
List log files for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server show |
Get the details of a flexible server. |
Core | GA |
az postgres flexible-server show-connection-string |
Show the connection strings for a PostgreSQL flexible-server database. |
Core | GA |
az postgres flexible-server start |
Start a flexible server. |
Core | GA |
az postgres flexible-server stop |
Stop a flexible server. |
Core | GA |
az postgres flexible-server update |
Update a flexible server. |
Core | GA |
az postgres flexible-server upgrade |
Upgrade the major version of a flexible server. |
Core | GA |
az postgres flexible-server virtual-endpoint |
Manage virtual endpoints for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server virtual-endpoint create |
Create a new virtual endpoint for a flexible server. |
Core | GA |
az postgres flexible-server virtual-endpoint delete |
Delete a virtual endpoint. |
Core | GA |
az postgres flexible-server virtual-endpoint list |
List all virtual endpoints for a flexible server. |
Core | GA |
az postgres flexible-server virtual-endpoint show |
Get the details of a virtual endpoint. |
Core | GA |
az postgres flexible-server virtual-endpoint update |
Update a virtual endpoint. |
Core | GA |
az postgres flexible-server wait |
Wait for the flexible server to satisfy certain conditions. |
Core | GA |
az postgres server |
Manage PostgreSQL servers. |
Core | GA |
az postgres server-arc |
Manage Azure Arc enabled PostgreSQL servers. |
Extension | Preview |
az postgres server-arc create |
Create an Azure Arc enabled PostgreSQL server. |
Extension | Preview |
az postgres server-arc delete |
Delete an Azure Arc enabled PostgreSQL server. |
Extension | Preview |
az postgres server-arc endpoint |
Manage Azure Arc enabled PostgreSQL server endpoints. |
Extension | Preview |
az postgres server-arc endpoint list |
List Azure Arc enabled PostgreSQL server endpoints. |
Extension | Preview |
az postgres server-arc list |
List Azure Arc enabled PostgreSQL server. |
Extension | Preview |
az postgres server-arc restore |
Restore an Azure Arc enabled PostgreSQL server from backup from another server. |
Extension | Preview |
az postgres server-arc show |
Show the details of an Azure Arc enabled PostgreSQL server. |
Extension | Preview |
az postgres server-arc update |
Update the configuration of an Azure Arc enabled PostgreSQL server. |
Extension | Preview |
az postgres server-logs |
Manage server logs. |
Core | GA |
az postgres server-logs download |
Download log files. |
Core | GA |
az postgres server-logs list |
List log files for a server. |
Core | GA |
az postgres server ad-admin |
Manage a postgres server's Active Directory administrator. |
Core | GA |
az postgres server ad-admin create |
Create an Active Directory Administrator for PostgreSQL server. |
Core | GA |
az postgres server ad-admin delete |
Delete an Active Directory Administrator for PostgreSQL server. |
Core | GA |
az postgres server ad-admin list |
List all Active Directory Administrators for PostgreSQL server. |
Core | GA |
az postgres server ad-admin show |
Get Active Directory Administrator information for a PostgreSQL server. |
Core | GA |
az postgres server ad-admin wait |
Place the CLI in a waiting state until a condition of the PostgreSQL server Active Directory Administrator is met. |
Core | GA |
az postgres server configuration |
Manage configuration values for a server. |
Core | GA |
az postgres server configuration list |
List the configuration values for a server. |
Core | GA |
az postgres server configuration set |
Update the configuration of a server. |
Core | GA |
az postgres server configuration show |
Get the configuration for a server.". |
Core | GA |
az postgres server create |
Create a server. |
Core | GA |
az postgres server delete |
Delete a server. |
Core | GA |
az postgres server firewall-rule |
Manage firewall rules for a server. |
Core | GA |
az postgres server firewall-rule create |
Create a new firewall rule for a server. |
Core | GA |
az postgres server firewall-rule delete |
Delete a firewall rule. |
Core | GA |
az postgres server firewall-rule list |
List all firewall rules for a server. |
Core | GA |
az postgres server firewall-rule show |
Get the details of a firewall rule. |
Core | GA |
az postgres server firewall-rule update |
Update a firewall rule. |
Core | GA |
az postgres server georestore |
Geo-restore a server from backup. |
Core | GA |
az postgres server key |
Manage PostgreSQL server keys. |
Core | GA |
az postgres server key create |
Create server key. |
Core | GA |
az postgres server key delete |
Delete server key. |
Core | GA |
az postgres server key list |
Gets a list of Server keys. |
Core | GA |
az postgres server key show |
Show server key. |
Core | GA |
az postgres server list |
List available servers. |
Core | GA |
az postgres server list-skus |
List available sku's in the given region. |
Core | GA |
az postgres server private-endpoint-connection |
Manage PostgreSQL server private endpoint connections. |
Core | GA |
az postgres server private-endpoint-connection approve |
Approve the specified private endpoint connection associated with a PostgreSQL server. |
Core | GA |
az postgres server private-endpoint-connection delete |
Delete the specified private endpoint connection associated with a PostgreSQL server. |
Core | GA |
az postgres server private-endpoint-connection reject |
Reject the specified private endpoint connection associated with a PostgreSQL server. |
Core | GA |
az postgres server private-endpoint-connection show |
Show details of a private endpoint connection associated with a PostgreSQL server. |
Core | GA |
az postgres server private-link-resource |
Manage PostgreSQL server private link resources. |
Core | GA |
az postgres server private-link-resource list |
List the private link resources supported for a PostgreSQL server. |
Core | GA |
az postgres server replica |
Manage read replicas. |
Core | GA |
az postgres server replica create |
Create a read replica for a server. |
Core | GA |
az postgres server replica list |
List all read replicas for a given server. |
Core | GA |
az postgres server replica stop |
Stop replication to a read replica and make it a read/write server. |
Core | GA |
az postgres server restart |
Restart a server. |
Core | GA |
az postgres server restore |
Restore a server from backup. |
Core | GA |
az postgres server show |
Get the details of a server. |
Core | GA |
az postgres server show-connection-string |
Show the connection strings for a PostgreSQL server database. |
Core | GA |
az postgres server update |
Update a server. |
Core | GA |
az postgres server vnet-rule |
Manage a server's virtual network rules. |
Core | GA |
az postgres server vnet-rule create |
Create a virtual network rule to allows access to a PostgreSQL server. |
Core | GA |
az postgres server vnet-rule delete |
Deletes the virtual network rule with the given name. |
Core | GA |
az postgres server vnet-rule list |
Gets a list of virtual network rules in a server. |
Core | GA |
az postgres server vnet-rule show |
Gets a virtual network rule. |
Core | GA |
az postgres server vnet-rule update |
Update a virtual network rule. |
Core | GA |
az postgres server wait |
Wait for server to satisfy certain conditions. |
Core | GA |