CmdID / az / az containerapp / az containerapp env / az containerapp env java-component / az containerapp env java-component config-server-for-spring
az containerapp env java-component config-server-for-spring create
Command to create the Config Server for Spring. Azure CLI extensions reference
2 examples Its page in the Azure CLI extensions reference
Examples
Create a Config Server for Spring.
az containerapp env java-component config-server-for-spring create -g MyResourceGroup -n MyJavaComponentName --environment MyEnvironment --set-configurations PropertyName1=Value1 PropertyName2=Value2Identify-gName of resource group.-nThe Java component name.--environmentThe environment name.--set-configurationsAdd or update Java component configuration(s).Create a Config Server for Spring with multiple replicas.
az containerapp env java-component config-server-for-spring create -g MyResourceGroup -n MyJavaComponentName --environment MyEnvironment --min-replicas 2 --max-replicas 2Identify-gName of resource group.-nThe Java component name.--environmentThe environment name.--min-replicasMinimum number of replicas to run for the Java component.--max-replicasMaximum number of replicas to run for the Java component.