az containerapp dapr

Commands to manage Dapr. To manage Dapr components, see az containerapp env dapr-component.

Commands

Name Description Type Status
az containerapp dapr disable

Disable Dapr for a container app. Removes existing values.

Core GA
az containerapp dapr enable

Enable Dapr for a container app. Updates existing values.

Core GA

az containerapp dapr disable

Disable Dapr for a container app. Removes existing values.

az containerapp dapr disable [--ids]
                             [--name]
                             [--resource-group]
                             [--subscription]

Examples

Disable Dapr for a container app.

az containerapp dapr disable -n my-containerapp -g MyResourceGroup

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

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 dapr enable

Enable Dapr for a container app. Updates existing values.

az containerapp dapr enable [--dal]
                            [--dapr-app-id]
                            [--dapr-app-port]
                            [--dapr-app-protocol {grpc, http}]
                            [--dapr-http-max-request-size]
                            [--dapr-http-read-buffer-size]
                            [--dapr-log-level {debug, error, info, warn}]
                            [--ids]
                            [--name]
                            [--resource-group]
                            [--subscription]

Examples

Enable Dapr for a container app.

az containerapp dapr enable -n my-containerapp -g MyResourceGroup --dapr-app-id my-app-id --dapr-app-port 8080

Optional Parameters

--dal --dapr-enable-api-logging

Enable API logging for the Dapr sidecar.

default value: False
--dapr-app-id

The Dapr application identifier.

--dapr-app-port

The port Dapr uses to talk to the application.

--dapr-app-protocol

The protocol Dapr uses to talk to the application.

accepted values: grpc, http
--dapr-http-max-request-size --dhmrs

Increase max size of request body http and grpc servers parameter in MB to handle uploading of big files.

--dapr-http-read-buffer-size --dhrbs

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers..

--dapr-log-level

Set the log level for the Dapr sidecar.

accepted values: debug, error, info, warn
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

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.