DaprSidecarOptions
Recordsealednet10.0
Options for configuring a Dapr sidecar.
namespace CommunityToolkit.Aspire.Hosting.Dapr;
public sealed record DaprSidecarOptions : System.IEquatable<CommunityToolkit.Aspire.Hosting.Dapr.DaprSidecarOptions>{ // ...}IEquatable<DaprSidecarOptions>
40 members
Constructors1
Section titled ConstructorsProperties32
Section titled PropertiesAppChannelAddress get; initstring? Gets or sets the network address at which the application listens.
AppEndpoint get; initstring? Gets or sets the endpoint of the application the sidecar is connected to.
AppHealthProbeInterval get; initint? Gets or sets the interval, in seconds, to probe for the health of the application.
AppHealthProbeTimeout get; initint? Gets or sets the timeout, in milliseconds, for application health probes.
AppHealthThreshold get; initint? Gets or sets the number of consecutive failures for the application to be considered unhealthy.
AppMaxConcurrency get; initint? Gets or sets the concurrency level of the application (unlimited if omitted).
AppProtocol get; initstring? Gets or sets the protocol (i.e. grpc, grpcs, http, https, h2c) the Dapr sidecar uses to talk to the application.
Commandget; initIImmutableList<string> Gets or sets the command run by the Dapr CLI as part of starting the sidecar.
int? Gets or sets the maximum size, in MB, of a Dapr request body.
int? Gets or sets the maximum size, in KB, of the HTTP header read buffer.
DaprInternalGrpcPort get; initint? Gets or sets the gRPC port on which the Dapr sidecar should listen for sidecar-to-sidecar calls.
DaprListenAddresses get; initstring? Gets or sets a comma (,) delimited list of IP addresses at which the Dapr sidecar will listen.
DaprMaxBodySize get; initstring? Gets or sets the max size of request body Inreasing the request max body size to handle large file uploads using http and grpc protocols. Set the value using size units (e.g., 16Mi for 16MB). The default is 4Mi.
DaprReadBufferSize get; initstring? Gets or sets the maximum size, read buffer. Increasing max size of http header read buffer in KB to to support larger header values. Set the value using size units, for example 32Ki will support headers up to 32KB . Default is 4Ki for 4KB
EnableApiLogging get; initbool? Gets or sets whether the Dapr sidecar logs API calls at INFO verbosity.
EnableAppHealthCheck get; initbool? Gets or sets whether health checks are performed for the application.
EnableProfiling get; initbool? Gets or sets whether to perform pprof profiling via the application HTTP endpoint.
LogLevel get; initstring? Gets or sets the Dapr sidecar log verbosity (i.e. debug, info, warn, error, fatal, or panic).
ResourcesPaths get; initIImmutableSet<string> Gets or sets the paths of Dapr sidecar resources (i.e. resources).
Methods7
Section titled MethodsboolIndicates whether the current object is equal to another object of the same type.