DaprConfig Class
App Dapr configuration.
- Inheritance
-
azure.mgmt.web._serialization.ModelDaprConfig
Constructor
DaprConfig(*, enabled: bool = False, app_id: str | None = None, app_port: int | None = None, http_read_buffer_size: int | None = None, http_max_request_size: int | None = None, log_level: str | _models.DaprLogLevel | None = None, enable_api_logging: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
Boolean indicating if the Dapr side car is enabled. |
app_id
|
Dapr application identifier. |
app_port
|
Tells Dapr which port your application is listening on. |
http_read_buffer_size
|
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. |
http_max_request_size
|
Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB. |
log_level
|
str or
DaprLogLevel
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error". |
enable_api_logging
|
Enables API logging for the Dapr sidecar. |
Variables
Name | Description |
---|---|
enabled
|
Boolean indicating if the Dapr side car is enabled. |
app_id
|
Dapr application identifier. |
app_port
|
Tells Dapr which port your application is listening on. |
http_read_buffer_size
|
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. |
http_max_request_size
|
Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB. |
log_level
|
str or
DaprLogLevel
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error". |
enable_api_logging
|
Enables API logging for the Dapr sidecar. |
Azure SDK for Python