az containerapp connected-env dapr-component

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 connected-env dapr-component command. Learn more about extensions.

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

Commands to manage Dapr components for Container Apps connected environments.

Commands

Name Description Type Status
az containerapp connected-env dapr-component list

List Dapr components for a connected environment.

Extension Preview
az containerapp connected-env dapr-component remove

Remove a Dapr component from a connected environment.

Extension Preview
az containerapp connected-env dapr-component set

Create or update a Dapr component.

Extension Preview
az containerapp connected-env dapr-component show

Show the details of a Dapr component.

Extension Preview

az containerapp connected-env dapr-component list

Preview

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

List Dapr components for a connected environment.

az containerapp connected-env dapr-component list --name
                                                  --resource-group

Examples

List Dapr components for a connected environment.

az containerapp connected-env dapr-component list -g MyResourceGroup --name MyConnectedEnv

Required Parameters

--name -n

The environment 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 connected-env dapr-component remove

Preview

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

Remove a Dapr component from a connected environment.

az containerapp connected-env dapr-component remove --dapr-component-name
                                                    --name
                                                    --resource-group

Examples

Remove a Dapr component from a Container Apps connected environment.

az containerapp connected-env dapr-component remove -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyConnectedEnv

Required Parameters

--dapr-component-name

The Dapr component name.

--name -n

The environment 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 connected-env dapr-component set

Preview

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

Create or update a Dapr component.

az containerapp connected-env dapr-component set --dapr-component-name
                                                 --name
                                                 --resource-group
                                                 --yaml

Examples

Create a Dapr component.

az containerapp connected-env dapr-component set -g MyResourceGroup --name MyEnv --yaml MyYAMLPath --dapr-component-name MyDaprComponentName

Required Parameters

--dapr-component-name

The Dapr component name.

--name -n

The environment name.

--resource-group -g

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

--yaml

Path to a .yaml file with the configuration of a Dapr component. All other parameters will be ignored. For an example, see https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-schema.

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 connected-env dapr-component show

Preview

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

Show the details of a Dapr component.

az containerapp connected-env dapr-component show --dapr-component-name
                                                  --name
                                                  --resource-group

Examples

Show the details of a Dapr component.

az containerapp connected-env dapr-component show -g MyResourceGroup --dapr-component-name MyDaprComponentName --name MyConnectedEnv

Required Parameters

--dapr-component-name

The Dapr component name.

--name -n

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