az postgres flexible-server parameter

Commands for managing server parameter values for flexible server.

Commands

Name Description Type Status
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 parameter list

List the parameter values for a flexible server.

az postgres flexible-server parameter list --resource-group
                                           --server-name

Examples

List the parameter values for a flexible server.

az postgres flexible-server parameter list --resource-group testGroup --server-name servername

List the parameter values for a flexible server in table format.

az postgres flexible-server parameter list --resource-group testGroup --server-name servername --output table

Required Parameters

--resource-group -g

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

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az postgres flexible-server parameter set

Update the parameter of a flexible server.

az postgres flexible-server parameter set [--ids]
                                          [--name]
                                          [--resource-group]
                                          [--server-name]
                                          [--source]
                                          [--subscription]
                                          [--value]

Examples

Set a new parameter value.

az postgres flexible-server parameter set --resource-group testGroup --server-name servername --name parameterName --value parameterValue

Set a parameter value to its default.

az postgres flexible-server parameter set --resource-group testGroup --server-name servername --name parameterName

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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=<name>.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--source

Source of the configuration.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--value -v

Value of the configuration.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az postgres flexible-server parameter show

Get the parameter for a flexible server.".

az postgres flexible-server parameter show [--ids]
                                           [--name]
                                           [--resource-group]
                                           [--server-name]
                                           [--subscription]

Examples

Get the parameter for a server.W

az postgres flexible-server parameter show --resource-group testGroup --server-name servername --name parameterName

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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=<name>.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.