az containerapp env java-component spring-cloud-config

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.53.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.

Command group 'containerapp env java-component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage the Spring Cloud Config 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 Preview
az containerapp env java-component spring-cloud-config delete

Command to delete the Spring Cloud Config.

Extension Preview
az containerapp env java-component spring-cloud-config show

Command to show the Spring Cloud Config.

Extension Preview
az containerapp env java-component spring-cloud-config update

Command to update the Spring Cloud Config.

Extension Preview

az containerapp env java-component spring-cloud-config create

Preview

Command group 'containerapp env java-component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Command to create the Spring Cloud Config.

az containerapp env java-component spring-cloud-config create --environment
                                                              --name
                                                              --resource-group
                                                              [--configuration]
                                                              [--no-wait]

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

--environment

The environment name.

--name -n

The Java component name.

--resource-group -g

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

Optional Parameters

--configuration

Java component configuration. Configuration must be in format "= = ...".

--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 containerapp env java-component spring-cloud-config delete

Preview

Command group 'containerapp env java-component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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

--environment

The environment name.

--name -n

The Java component name.

--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
--yes -y

Do not prompt for confirmation.

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 containerapp env java-component spring-cloud-config show

Preview

Command group 'containerapp env java-component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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

--environment

The environment name.

--name -n

The Java component name.

--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 containerapp env java-component spring-cloud-config update

Preview

Command group 'containerapp env java-component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Command to update the Spring Cloud Config.

az containerapp env java-component spring-cloud-config update --environment
                                                              --name
                                                              --resource-group
                                                              [--configuration]
                                                              [--no-wait]

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

--environment

The environment name.

--name -n

The Java component name.

--resource-group -g

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

Optional Parameters

--configuration

Java component configuration. Configuration must be in format "= = ...".

--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.