Class ActiveHealthCheckConfig
- Namespace
- Yarp.ReverseProxy.Configuration
- Assembly
- Yarp.ReverseProxy.dll
Active health check config.
public sealed record ActiveHealthCheckConfig : IEquatable<ActiveHealthCheckConfig>
- Inheritance
-
ActiveHealthCheckConfig
- Implements
- Inherited Members
Constructors
ActiveHealthCheckConfig()
public ActiveHealthCheckConfig()
Properties
Enabled
Whether active health checks are enabled.
public bool? Enabled { get; init; }
Property Value
- bool?
Interval
Health probe interval.
public TimeSpan? Interval { get; init; }
Property Value
Path
HTTP health check endpoint path.
public string? Path { get; init; }
Property Value
Policy
Active health check policy.
public string? Policy { get; init; }
Property Value
Timeout
Health probe timeout, after which a destination is considered unhealthy.
public TimeSpan? Timeout { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
Equals(ActiveHealthCheckConfig?)
public bool Equals(ActiveHealthCheckConfig? other)
Parameters
other
ActiveHealthCheckConfig
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
<Clone>$()
public ActiveHealthCheckConfig <Clone>$()
Returns
Operators
operator ==(ActiveHealthCheckConfig?, ActiveHealthCheckConfig?)
public static bool operator ==(ActiveHealthCheckConfig? left, ActiveHealthCheckConfig? right)
Parameters
left
ActiveHealthCheckConfigright
ActiveHealthCheckConfig
Returns
operator !=(ActiveHealthCheckConfig?, ActiveHealthCheckConfig?)
public static bool operator !=(ActiveHealthCheckConfig? left, ActiveHealthCheckConfig? right)
Parameters
left
ActiveHealthCheckConfigright
ActiveHealthCheckConfig