你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
az containerapp env java-component gateway-for-spring
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 gateway-for-spring command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to manage the Gateway for Spring for the Container Apps environment.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp env java-component gateway-for-spring create |
Command to create the Gateway for Spring. |
Extension | Preview |
az containerapp env java-component gateway-for-spring delete |
Command to delete the Gateway for Spring. |
Extension | Preview |
az containerapp env java-component gateway-for-spring show |
Command to show the Gateway for Spring. |
Extension | Preview |
az containerapp env java-component gateway-for-spring update |
Command to update the Gateway for Spring. |
Extension | Preview |
az containerapp env java-component gateway-for-spring create
Command group 'containerapp env java-component gateway-for-spring' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Command to create the Gateway for Spring.
az containerapp env java-component gateway-for-spring create --environment
--name
--resource-group
[--configuration]
[--max-replicas]
[--min-replicas]
[--no-wait]
[--route-yaml]
Examples
Create a Gateway for Spring with default configuration.
az containerapp env java-component gateway-for-spring create -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--route-yaml MyRouteYamlFilePath
Create a Gateway for Spring with custom configurations.
az containerapp env java-component gateway-for-spring create -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--route-yaml MyRouteYamlFilePath \
--configuration PropertyName1=Value1 PropertyName2=Value2
Create a Gateway for Spring with multiple replicas.
az containerapp env java-component gateway-for-spring create -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--route-yaml MyRouteYamlFilePath \
--min-replicas 2 --max-replicas 2
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
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.
Path to a .yaml file with the configuration of a Spring Cloud Gateway route. For an example, see https://aka.ms/gateway-for-spring-routes-yaml.
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 gateway-for-spring delete
Command group 'containerapp env java-component gateway-for-spring' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Command to delete the Gateway for Spring.
az containerapp env java-component gateway-for-spring delete --environment
--name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a Gateway for Spring.
az containerapp env java-component gateway-for-spring 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 gateway-for-spring show
Command group 'containerapp env java-component gateway-for-spring' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Command to show the Gateway for Spring.
az containerapp env java-component gateway-for-spring show --environment
--name
--resource-group
Examples
Show Gateway for Spring.
az containerapp env java-component gateway-for-spring 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 gateway-for-spring update
Command group 'containerapp env java-component gateway-for-spring' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Command to update the Gateway for Spring.
az containerapp env java-component gateway-for-spring update --environment
--name
--resource-group
[--configuration]
[--max-replicas]
[--min-replicas]
[--no-wait]
[--route-yaml]
Examples
Update a Gateway for Spring with new routes.
az containerapp env java-component gateway-for-spring update -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--route-yaml MyRouteYamlFilePath
Delete all configurations of the Gateway for Spring.
az containerapp env java-component gateway-for-spring update -g MyResourceGroup \
-n MyJavaComponentName \
--environment MyEnvironment \
--configuration
Update a Gateway for Spring with custom configurations.
az containerapp env java-component gateway-for-spring 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
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.
Path to a .yaml file with the configuration of a Spring Cloud Gateway route. For an example, see https://aka.ms/gateway-for-spring-routes-yaml.
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.