Freigeben über


DaprSidecarOptions Class

Definition

Options for configuring a Dapr sidecar.

public sealed class DaprSidecarOptions : IEquatable<Aspire.Hosting.Dapr.DaprSidecarOptions>
type DaprSidecarOptions = class
    interface IEquatable<DaprSidecarOptions>
Public NotInheritable Class DaprSidecarOptions
Implements IEquatable(Of DaprSidecarOptions)
Inheritance
DaprSidecarOptions
Implements

Constructors

DaprSidecarOptions()

Properties

AppChannelAddress

Gets or sets the network address at which the application listens.

AppEndpoint

Gets or sets the endpoint of the application the sidecar is connected to.

AppHealthCheckPath

Gets or sets the path used for health checks (HTTP only).

AppHealthProbeInterval

Gets or sets the interval, in seconds, to probe for the health of the application.

AppHealthProbeTimeout

Gets or sets the timeout, in milliseconds, for application health probes.

AppHealthThreshold

Gets or sets the number of consecutive failures for the application to be considered unhealthy.

AppId

Gets or sets the ID for the application, used for service discovery.

AppMaxConcurrency

Gets or sets the concurrency level of the application (unlimited if omitted).

AppPort

Gets or sets the port on which the application is listening.

AppProtocol

Gets or sets the protocol (i.e. grpc, grpcs, http, https, h2c) the Dapr sidecar uses to talk to the application.

Command

Gets or sets the command run by the Dapr CLI as part of starting the sidecar.

Config

Gets or sets the path to the Dapr sidecar configuration file.

DaprGrpcPort

Gets or sets the gRPC port on which the Dapr sidecar should listen.

DaprHttpMaxRequestSize

Gets or sets the maximum size, in MB, of a Dapr request body.

DaprHttpPort

Gets or sets the HTTP port on which the Dapr sidecard should listen.

DaprHttpReadBufferSize

Gets or sets the maximum size, in KB, of the HTTP header read buffer.

DaprInternalGrpcPort

Gets or sets the gRPC port on which the Dapr sidecar should listen for sidecar-to-sidecar calls.

DaprListenAddresses

Gets or sets a comma (,) delimited list of IP addresses at which the Dapr sidecar will listen.

EnableApiLogging

Gets or sets whether the Dapr sidecar logs API calls at INFO verbosity.

EnableAppHealthCheck

Gets or sets whether health checks are performed for the application.

EnableProfiling

Gets or sets whether to perform pprof profiling via the application HTTP endpoint.

LogLevel

Gets or sets the Dapr sidecar log verbosity (i.e. debug, info, warn, error, fatal, or panic).

MetricsPort

Gets or sets the port on which the Dapr sidecar reports metrics.

PlacementHostAddress

Gets or sets the address of the placement service.

ProfilePort

Gets or sets the port on which the Dapr sidecar reports profiling data.

ResourcesPaths

Gets or sets the paths of Dapr sidecar resources (i.e. resources).

RunFile

Gets or sets the path to the Dapr run file to run.

RuntimePath

Gets or sets the directory of the Dapr runtime (i.e. daprd).

UnixDomainSocket

Gets or sets the path to a Unix Domain Socket (UDS) directory.

Methods

<Clone>$()
Equals(DaprSidecarOptions)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(DaprSidecarOptions, DaprSidecarOptions)
Inequality(DaprSidecarOptions, DaprSidecarOptions)

Applies to