Azure Database for PostgreSQL server configurations - az postgres server configuration

Commands to configure an Azure Database for PostgreSQL server.

Commands

az postgres server configuration list List the configurations of an Azure Database for PostgreSQL server.
az postgres server configuration set Update the configuration of an Azure Database for PostgreSQL server.
az postgres server configuration show Show the configuration of an Azure Database for PostgreSQL server.

az postgres server configuration list

List the configurations of an Azure Database for PostgreSQL server.

az postgres server configuration list --resource-group
--server-name

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server.

az postgres server configuration set

Update the configuration of an Azure Database for PostgreSQL server.

az postgres server configuration set --name
--resource-group
--server-name
[--value]

Examples

Set new value for a configuration.

az postgres server configuration set -g testgroup -s testsvr -n  --value 

Set configuration's value to default.

az postgres server configuration set -g testgroup -s testsvr -n 

Required Parameters

--name -n

The name of the server configuration.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server.

Optional Parameters

--value

Value of the configuration. If not provided, configuration value will be set to default.

az postgres server configuration show

Show the configuration of an Azure Database for PostgreSQL server.

az postgres server configuration show --name
--resource-group
--server-name

Required Parameters

--name -n

The name of the server configuration to be retrieved.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server.