Class HealthCheckConstants.AvailableDestinations
- Namespace
- Yarp.ReverseProxy.Health
- Assembly
- Yarp.ReverseProxy.dll
public static class HealthCheckConstants.AvailableDestinations
- Inheritance
-
HealthCheckConstants.AvailableDestinations
- Inherited Members
Fields
HealthyAndUnknown
Marks destination as available for proxying requests to if its health state is either 'Healthy' or 'Unknown'. If no destinations are available then requests will get a 503 error.
public static readonly string HealthyAndUnknown
Field Value
Remarks
It applies only if active or passive health checks are enabled.
HealthyOrPanic
Calls HealthyAndUnknown policy at first to determine destinations' availability. If no available destinations are returned from this call, it marks all cluster's destination as available.
public static readonly string HealthyOrPanic