Share via


az containerapp env java-component nacos

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 nacos 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 Nacos for the Container Apps environment.

Commands

Name Description Type Status
az containerapp env java-component nacos create

Command to create the Nacos.

Extension Preview
az containerapp env java-component nacos delete

Command to delete the Nacos.

Extension Preview
az containerapp env java-component nacos show

Command to show the Nacos.

Extension Preview
az containerapp env java-component nacos update

Command to update the Nacos.

Extension Preview

az containerapp env java-component nacos create

Preview

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

Command to create the Nacos.

az containerapp env java-component nacos create --environment
                                                --name
                                                --resource-group
                                                [--bind]
                                                [--configuration]
                                                [--max-replicas]
                                                [--min-replicas]
                                                [--no-wait]
                                                [--unbind]

Examples

Create a Nacos with default configuration.

az containerapp env java-component nacos create -g MyResourceGroup \
    -n MyJavaComponentName \
    --environment MyEnvironment

Create a Nacos with custom configurations.

az containerapp env java-component nacos 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

--bind

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

--configuration

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

--max-replicas

Maximum number of replicas to run for the Java component.

Default value: 1
--min-replicas

Minimum number of replicas to run for the Java component.

Default value: 1
--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--unbind

Space separated list of services, bindings or Java components to be removed from this Java Component. e.g. BIND_NAME1...

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 nacos delete

Preview

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

Command to delete the Nacos.

az containerapp env java-component nacos delete --environment
                                                --name
                                                --resource-group
                                                [--no-wait]
                                                [--yes]

Examples

Delete a Nacos.

az containerapp env java-component nacos 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 nacos show

Preview

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

Command to show the Nacos.

az containerapp env java-component nacos show --environment
                                              --name
                                              --resource-group

Examples

Show an Nacos.

az containerapp env java-component nacos 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 nacos update

Preview

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

Command to update the Nacos.

az containerapp env java-component nacos update --environment
                                                --name
                                                --resource-group
                                                [--bind]
                                                [--configuration]
                                                [--max-replicas]
                                                [--min-replicas]
                                                [--no-wait]
                                                [--unbind]

Examples

Delete all configurations of the Nacos.

az containerapp env java-component nacos update -g MyResourceGroup \
    -n MyJavaComponentName \
    --environment MyEnvironment \
    --configuration

Update an Nacos with custom configurations.

az containerapp env java-component nacos 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

--bind

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

--configuration

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

--max-replicas

Maximum number of replicas to run for the Java component.

--min-replicas

Minimum number of replicas to run for the Java component.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--unbind

Space separated list of services, bindings or Java components to be removed from this Java Component. e.g. BIND_NAME1...

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.