Class HealthCheckConstants.AvailableDestinations
Inheritance
System.Object
HealthCheckConstants.AvailableDestinations
Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public static class AvailableDestinations : object
Fields
| Improve this Doc View SourceHealthyAndUnknown
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.
Declaration
public static readonly string HealthyAndUnknown
Field Value
Type | Description |
---|---|
System.String |
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.
Declaration
public static readonly string HealthyOrPanic
Field Value
Type | Description |
---|---|
System.String |