az spring config-server
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring config-server command. Learn more about extensions.
This command group is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Support Standard Tier and Basic Tier) Commands to manage Config Server in Azure Spring Apps.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az spring config-server bind |
(Enterprise Tier Only) Bind an app to Config Server. |
Extension | Deprecated |
| az spring config-server clear |
Erase all settings in Config Server. |
Extension | Deprecated |
| az spring config-server create |
(Enterprise Tier Only) Create Config Server. |
Extension | Deprecated |
| az spring config-server delete |
(Enterprise Tier Only) Delete Config Server. |
Extension | Deprecated |
| az spring config-server disable |
(Standard consumption Tier Only) Disable Config Server. |
Extension | Deprecated |
| az spring config-server enable |
(Standard consumption Tier Only) Enable Config Server. |
Extension | Deprecated |
| az spring config-server git |
Commands to manage Config Server git property in Azure Spring Apps. |
Extension | Deprecated |
| az spring config-server git repo |
Commands to manage Config Server git repository in Azure Spring Apps. |
Extension | Deprecated |
| az spring config-server git repo add |
Add a new repository of git property of Config Server. |
Extension | Deprecated |
| az spring config-server git repo list |
List all repositories of git property of Config Server. |
Extension | Deprecated |
| az spring config-server git repo remove |
Remove an existing repository of git property of Config Server. |
Extension | Deprecated |
| az spring 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 config-server git set |
Set git property of Config Server, will totally override the old one. |
Extension | Deprecated |
| az spring config-server set |
Set Config Server from a yaml file. |
Extension | Deprecated |
| az spring config-server show |
Show Config Server. |
Extension | Deprecated |
| az spring config-server unbind |
(Enterprise Tier Only) Unbind an app from Config Server. |
Extension | Deprecated |
az spring config-server bind
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Enterprise Tier Only) Bind an app to Config Server.
az spring config-server bind --resource-group
--service
[--app]
[--job]
Examples
Bind an app to the default Config Server in service instance MyService.
az spring config-server bind --app MyApp -s MyService -g MyResourceGroup
Bind a job to the default Config Server in service instance MyService.
az spring config-server bind --job job-name -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of app.
The name of job running in the specified Azure Spring Apps instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server clear
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
Erase all settings in Config Server.
az spring config-server clear --resource-group
--service
[--yes]
Examples
Update the settings for the default Config Server in service instance MyService to empty.
az spring config-server clear -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server create
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Enterprise Tier Only) Create Config Server.
az spring config-server create --resource-group
--service
Examples
Create a Config Server without repository settings in service instance MyService.
az spring config-server create -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server delete
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Enterprise Tier Only) Delete Config Server.
az spring config-server delete --resource-group
--service
[--yes]
Examples
Delete the default Config Server in service instance MyService.
az spring config-server delete -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server disable
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Standard consumption Tier Only) Disable Config Server.
az spring config-server disable --resource-group
--service
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server enable
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Standard consumption Tier Only) Enable Config Server.
az spring config-server enable --resource-group
--service
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server set
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
Set Config Server from a yaml file.
az spring config-server set --config-file
--resource-group
--service
[--no-wait]
Examples
Load from a yaml file and set the default Config Server in service instance MyService.
az spring config-server set -s MyService -g MyResourceGroup --config-file MyConfigFile.yaml
Required Parameters
A yaml file path for the configuration of Spring Cloud config server.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server show
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
Show Config Server.
az spring config-server show --resource-group
--service
Examples
Show the metadata for the default Config Server in service instance MyService.
az spring config-server show -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az spring config-server unbind
This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.
(Enterprise Tier Only) Unbind an app from Config Server.
az spring config-server unbind --resource-group
--service
[--app]
[--job]
[--yes]
Examples
Unbind an app from the default Config Server in service instance MyService.
az spring config-server unbind --app MyApp -s MyService -g MyResourceGroup
Unbind a job from the default Config Server in service instance MyService.
az spring config-server unbind --job job-name -s MyService -g MyResourceGroup
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of app.
The name of job running in the specified Azure Spring Apps instance.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |