Class PassiveHealthCheckConfig
- Namespace
- Yarp.ReverseProxy.Configuration
- Assembly
- Yarp.ReverseProxy.dll
Passive health check config.
public sealed record PassiveHealthCheckConfig : IEquatable<PassiveHealthCheckConfig>
- Inheritance
-
PassiveHealthCheckConfig
- Implements
- Inherited Members
Constructors
PassiveHealthCheckConfig()
public PassiveHealthCheckConfig()
Properties
Enabled
Whether passive health checks are enabled.
public bool? Enabled { get; init; }
Property Value
- bool?
Policy
Passive health check policy.
public string? Policy { get; init; }
Property Value
ReactivationPeriod
Destination reactivation period after which an unhealthy destination is considered healthy again.
public TimeSpan? ReactivationPeriod { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
Equals(PassiveHealthCheckConfig?)
public bool Equals(PassiveHealthCheckConfig? other)
Parameters
other
PassiveHealthCheckConfig
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
<Clone>$()
public PassiveHealthCheckConfig <Clone>$()
Returns
Operators
operator ==(PassiveHealthCheckConfig?, PassiveHealthCheckConfig?)
public static bool operator ==(PassiveHealthCheckConfig? left, PassiveHealthCheckConfig? right)
Parameters
left
PassiveHealthCheckConfigright
PassiveHealthCheckConfig
Returns
operator !=(PassiveHealthCheckConfig?, PassiveHealthCheckConfig?)
public static bool operator !=(PassiveHealthCheckConfig? left, PassiveHealthCheckConfig? right)
Parameters
left
PassiveHealthCheckConfigright
PassiveHealthCheckConfig