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
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.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 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
Enable API logging for the Dapr sidecar.
The Dapr application identifier.
The port Dapr uses to talk to the application.
The protocol Dapr uses to talk to the application.
Increase max size of request body http and grpc servers parameter in MB to handle uploading of big files.
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers..
Set the log level for the Dapr sidecar.
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.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Azure CLI