az containerapp env java-component spring-cloud-config
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp env java-component spring-cloud-config command. Learn more about extensions.
This command group has been deprecated and will be removed in a future release. Use 'containerapp env java-component config-server-for-spring' instead.
Commands to manage the Config Server for Spring for the Container Apps environment.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp env java-component spring-cloud-config create |
Command to create the Spring Cloud Config. |
Extension | Deprecated |
az containerapp env java-component spring-cloud-config delete |
Command to delete the Spring Cloud Config. |
Extension | Deprecated |
az containerapp env java-component spring-cloud-config show |
Command to show the Spring Cloud Config. |
Extension | Deprecated |
az containerapp env java-component spring-cloud-config update |
Command to update the Spring Cloud Config. |
Extension | Deprecated |
az containerapp env java-component spring-cloud-config create
This command is implicitly deprecated because command group 'containerapp env java-component spring-cloud-config' is deprecated and will be removed in a future release. Use 'containerapp env java-component config-server-for-spring' instead.
Command to create the Spring Cloud Config.
az containerapp env java-component spring-cloud-config create --environment
--name
--resource-group
[--bind]
[--configuration]
[--max-replicas]
[--min-replicas]
[--no-wait]
[--unbind]
Examples
Create a Spring Cloud Config.
az containerapp env java-component spring-cloud-config create -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--configuration PropertyName1=Value1 PropertyName2=Value2
Required Parameters
The environment name.
The Java component name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Space separated list of services, bindings or other Java components to be connected to this Java Component. e.g. SVC_NAME1[:BIND_NAME1] SVC_NAME2[:BIND_NAME2]...
Java component configuration. Configuration must be in format "=" "="...
Maximum number of replicas to run for the Java component.
Minimum number of replicas to run for the Java component.
Do not wait for the long-running operation to finish.
Space separated list of services, bindings or Java components to be removed from this Java Component. e.g. BIND_NAME1...
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az containerapp env java-component spring-cloud-config delete
This command is implicitly deprecated because command group 'containerapp env java-component spring-cloud-config' is deprecated and will be removed in a future release. Use 'containerapp env java-component config-server-for-spring' instead.
Command to delete the Spring Cloud Config.
az containerapp env java-component spring-cloud-config delete --environment
--name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a Spring Cloud Config.
az containerapp env java-component spring-cloud-config delete -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment
Required Parameters
The environment name.
The Java component name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az containerapp env java-component spring-cloud-config show
This command is implicitly deprecated because command group 'containerapp env java-component spring-cloud-config' is deprecated and will be removed in a future release. Use 'containerapp env java-component config-server-for-spring' instead.
Command to show the Spring Cloud Config.
az containerapp env java-component spring-cloud-config show --environment
--name
--resource-group
Examples
Show a Spring Cloud Config.
az containerapp env java-component spring-cloud-config show -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment
Required Parameters
The environment name.
The Java component name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az containerapp env java-component spring-cloud-config update
This command is implicitly deprecated because command group 'containerapp env java-component spring-cloud-config' is deprecated and will be removed in a future release. Use 'containerapp env java-component config-server-for-spring' instead.
Command to update the Spring Cloud Config.
az containerapp env java-component spring-cloud-config update --environment
--name
--resource-group
[--bind]
[--configuration]
[--max-replicas]
[--min-replicas]
[--no-wait]
[--unbind]
Examples
Delete all configurations of the Spring Cloud Config.
az containerapp env java-component spring-cloud-config update -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--configuration
Update a Spring Cloud Config with custom configurations.
az containerapp env java-component spring-cloud-config update -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--configuration PropertyName1=Value1 PropertyName2=Value2
Required Parameters
The environment name.
The Java component name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Space separated list of services, bindings or other Java components to be connected to this Java Component. e.g. SVC_NAME1[:BIND_NAME1] SVC_NAME2[:BIND_NAME2]...
Java component configuration. Configuration must be in format "=" "="...
Maximum number of replicas to run for the Java component.
Minimum number of replicas to run for the Java component.
Do not wait for the long-running operation to finish.
Space separated list of services, bindings or Java components to be removed from this Java Component. e.g. BIND_NAME1...
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.