Share via


ContainerAppDaprConfiguration Class

Definition

Container App Dapr configuration.

public class ContainerAppDaprConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppContainers.Models.ContainerAppDaprConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppContainers.Models.ContainerAppDaprConfiguration>
type ContainerAppDaprConfiguration = class
    interface IJsonModel<ContainerAppDaprConfiguration>
    interface IPersistableModel<ContainerAppDaprConfiguration>
Public Class ContainerAppDaprConfiguration
Implements IJsonModel(Of ContainerAppDaprConfiguration), IPersistableModel(Of ContainerAppDaprConfiguration)
Inheritance
ContainerAppDaprConfiguration
Implements

Constructors

ContainerAppDaprConfiguration()

Initializes a new instance of ContainerAppDaprConfiguration.

Properties

AppId

Dapr application identifier.

AppPort

Tells Dapr which port your application is listening on.

AppProtocol

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.

HttpMaxRequestSize

Increasing max size of request body http and grpc 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<ContainerAppDaprConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerAppDaprConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppDaprConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppDaprConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerAppDaprConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to