Share via


az spring-cloud config-server

Note

This reference is part of the spring-cloud extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az spring-cloud config-server command. Learn more about extensions.

This command group is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.

(Support Standard Tier and Basic Tier) Commands to manage Config Server in Azure Spring Cloud.

Commands

Name Description Type Status
az spring-cloud config-server clear

Erase all settings in Config Server.

Extension Deprecated
az spring-cloud config-server git

Commands to manage Config Server git property in Azure Spring Cloud.

Extension Deprecated
az spring-cloud config-server git repo

Commands to manage Config Server git repository in Azure Spring Cloud.

Extension Deprecated
az spring-cloud config-server git repo add

Add a new repository of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo list

List all repositories of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo remove

Remove an existing repository of git property of Config Server.

Extension Deprecated
az spring-cloud config-server git repo update

Override an existing repository of git property of Config Server, will totally override the old one.

Extension Deprecated
az spring-cloud config-server git set

Set git property of Config Server, will totally override the old one.

Extension Deprecated
az spring-cloud config-server set

Set Config Server from a yaml file.

Extension Deprecated
az spring-cloud config-server show

Show Config Server.

Extension Deprecated

az spring-cloud config-server clear

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server' is deprecated and will be removed in a future release. Use 'spring config-server' instead.

Erase all settings in Config Server.

az spring-cloud config-server clear --name
                                    --resource-group

Required Parameters

--name -n

Name of Azure Spring Cloud.

--resource-group -g

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

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 spring-cloud config-server set

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server' is deprecated and will be removed in a future release. Use 'spring config-server' instead.

Set Config Server from a yaml file.

az spring-cloud config-server set --config-file
                                  --name
                                  --resource-group
                                  [--no-wait]

Required Parameters

--config-file

A yaml file path for the configuration of Spring Cloud config server.

--name -n

Name of Azure Spring Cloud.

--resource-group -g

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

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
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 spring-cloud config-server show

Deprecated

This command is implicitly deprecated because command group 'spring-cloud config-server' is deprecated and will be removed in a future release. Use 'spring config-server' instead.

Show Config Server.

az spring-cloud config-server show --name
                                   --resource-group

Required Parameters

--name -n

Name of Azure Spring Cloud.

--resource-group -g

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

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.