你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.
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
AppDaprConfig() |
Initializes a new instance of AppDaprConfig. |
Properties
AppId |
Dapr application identifier. |
AppPort |
Tells Dapr which port your application is listening on. |
HttpMaxRequestSize |
Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB. |
HttpReadBufferSize |
Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. |
IsApiLoggingEnabled |
Enables API logging for the Dapr sidecar. |
IsEnabled |
Boolean indicating if the Dapr side car is enabled. |
LogLevel |
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
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. |