DaprSidecarOptions
Record sealed net10.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 PropertiesAppChannelAddressget; initstring? Gets or sets the network address at which the application listens.
AppEndpointget; initstring? Gets or sets the endpoint of the application the sidecar is connected to.
AppHealthCheckPathget; initstring? Gets or sets the path used for health checks (HTTP only).
AppHealthProbeIntervalget; initint? Gets or sets the interval, in seconds, to probe for the health of the application.
AppHealthProbeTimeoutget; initint? Gets or sets the timeout, in milliseconds, for application health probes.
AppHealthThresholdget; initint? Gets or sets the number of consecutive failures for the application to be considered unhealthy.
AppIdget; initstring? Gets or sets the ID for the application, used for service discovery.
AppMaxConcurrencyget; initint? Gets or sets the concurrency level of the application (unlimited if omitted).
AppPortget; initint? Gets or sets the port on which the application is listening.
AppProtocolget; 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.
Configget; initstring? Gets or sets the path to the Dapr sidecar configuration file.
DaprGrpcPortget; initint? Gets or sets the gRPC port on which the Dapr sidecar should listen.
DaprHttpMaxRequestSizeget; initobsoleteint? Gets or sets the maximum size, in MB, of a Dapr request body.
DaprHttpPortget; initint? Gets or sets the HTTP port on which the Dapr sidecard should listen.
DaprHttpReadBufferSizeget; initobsoleteint? Gets or sets the maximum size, in KB, of the HTTP header read buffer.
DaprInternalGrpcPortget; initint? Gets or sets the gRPC port on which the Dapr sidecar should listen for sidecar-to-sidecar calls.
DaprListenAddressesget; initstring? Gets or sets a comma (,) delimited list of IP addresses at which the Dapr sidecar will listen.
DaprMaxBodySizeget; 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.
DaprReadBufferSizeget; 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
EnableApiLoggingget; initbool? Gets or sets whether the Dapr sidecar logs API calls at INFO verbosity.
EnableAppHealthCheckget; initbool? Gets or sets whether health checks are performed for the application.
EnableProfilingget; initbool? Gets or sets whether to perform pprof profiling via the application HTTP endpoint.
LogLevelget; initstring? Gets or sets the Dapr sidecar log verbosity (i.e. debug, info, warn, error, fatal, or panic).
MetricsPortget; initint? Gets or sets the port on which the Dapr sidecar reports metrics.
PlacementHostAddressget; initstring? Gets or sets the address of the placement service.
ProfilePortget; initint? Gets or sets the port on which the Dapr sidecar reports profiling data.
ResourcesPathsget; initIImmutableSet<string> Gets or sets the paths of Dapr sidecar resources (i.e. resources).
RunFileget; initstring? Gets or sets the path to the Dapr run file to run.
RuntimePathget; initstring? Gets or sets the directory of the Dapr runtime (i.e. daprd).
SchedulerHostAddressget; initstring? Gets or sets the address of the scheduler service.
UnixDomainSocketget; initstring? Gets or sets the path to a Unix Domain Socket (UDS) directory.
Methods7
Section titled Methods<Clone>$Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(DaprSidecarOptions?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(DaprSidecarOptions?, DaprSidecarOptions?)staticboolop_Inequality(DaprSidecarOptions?, DaprSidecarOptions?)staticboolToStringstringReturns a string that represents the current object.