AppDaprConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
App Dapr configuration. Serialized Name: DaprConfig
public class AppDaprConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppDaprConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppDaprConfig>
type AppDaprConfig = class
interface IJsonModel<AppDaprConfig>
interface IPersistableModel<AppDaprConfig>
Public Class AppDaprConfig
Implements IJsonModel(Of AppDaprConfig), IPersistableModel(Of AppDaprConfig)
- Inheritance
-
AppDaprConfig
- Implements
Constructors
| Name | Description |
|---|---|
| AppDaprConfig() |
Initializes a new instance of AppDaprConfig. |
Properties
| Name | Description |
|---|---|
| AppId |
Dapr application identifier Serialized Name: DaprConfig.appId |
| AppPort |
Tells Dapr which port your application is listening on Serialized Name: DaprConfig.appPort |
| HttpMaxRequestSize |
Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB. Serialized Name: DaprConfig.httpMaxRequestSize |
| HttpReadBufferSize |
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. Serialized Name: DaprConfig.httpReadBufferSize |
| IsApiLoggingEnabled |
Enables API logging for the Dapr sidecar Serialized Name: DaprConfig.enableApiLogging |
| IsEnabled |
Boolean indicating if the Dapr side car is enabled Serialized Name: DaprConfig.enabled |
| LogLevel |
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Serialized Name: DaprConfig.logLevel |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<AppDaprConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<AppDaprConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<AppDaprConfig>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<AppDaprConfig>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<AppDaprConfig>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |