Class PassiveHealthCheckConfig
Passive health check config.
Inheritance
System.Object
PassiveHealthCheckConfig
Implements
System.IEquatable<PassiveHealthCheckConfig>
Namespace: Yarp.ReverseProxy.Configuration
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class PassiveHealthCheckConfig : object
Properties
| Improve this Doc View SourceEnabled
Whether passive health checks are enabled.
Declaration
public bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Policy
Passive health check policy.
Declaration
public string? Policy { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
ReactivationPeriod
Destination reactivation period after which an unhealthy destination is considered healthy again.
Declaration
public TimeSpan? ReactivationPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> |
Methods
| Improve this Doc View SourceEquals(PassiveHealthCheckConfig)
Declaration
public bool Equals(PassiveHealthCheckConfig other)
Parameters
Type | Name | Description |
---|---|---|
PassiveHealthCheckConfig | other |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.IEquatable<>