Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

YarpActiveHealthCheckConfig

Struct
📦 Aspire.Hosting.Yarp v17.0.0

Represents active health check configuration for a YARP cluster.

type YarpActiveHealthCheckConfig struct {
Enabled *bool `json:"Enabled"`
Interval *float64 `json:"Interval"`
Path *string `json:"Path"`
Policy *string `json:"Policy"`
Query *string `json:"Query"`
Timeout *float64 `json:"Timeout"`
}

Fields

Enabled*booloptional
Gets or sets a value indicating whether active health checks are enabled.
Interval*float64optional
Gets or sets the health check interval.
Path*string
Gets or sets the health check path.
Policy*string
Gets or sets the health check policy.
Query*string
Gets or sets the health check query string.
Timeout*float64optional
Gets or sets the health check timeout.