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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | 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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az containerapp dapr enable
Enable Dapr for a container app. Updates existing values.
az containerapp dapr enable [--dal --dapr-enable-api-logging]
[--dapr-app-id]
[--dapr-app-port]
[--dapr-app-protocol {grpc, http}]
[--dapr-http-max-request-size --dhmrs]
[--dapr-http-read-buffer-size --dhrbs]
[--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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Enable API logging for the Dapr sidecar.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
Default value: | False |
The Dapr application identifier.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
The port Dapr uses to talk to the application.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
The protocol Dapr uses to talk to the application.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
Accepted values: | grpc, http |
Increase max size of request body http and grpc servers parameter in MB to handle uploading of big files.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers..
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
Set the log level for the Dapr sidecar.
Property | Value |
---|---|
Parameter group: | Dapr Arguments |
Accepted values: | debug, error, info, warn |
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.
Property | Value |
---|---|
Parameter group: | 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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |