Table of Contents

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

string

ReactivationPeriod

Destination reactivation period after which an unhealthy destination is considered healthy again.

public TimeSpan? ReactivationPeriod { get; init; }

Property Value

TimeSpan?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(PassiveHealthCheckConfig?)

public bool Equals(PassiveHealthCheckConfig? other)

Parameters

other PassiveHealthCheckConfig

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

<Clone>$()

public PassiveHealthCheckConfig <Clone>$()

Returns

PassiveHealthCheckConfig

Operators

operator ==(PassiveHealthCheckConfig?, PassiveHealthCheckConfig?)

public static bool operator ==(PassiveHealthCheckConfig? left, PassiveHealthCheckConfig? right)

Parameters

left PassiveHealthCheckConfig
right PassiveHealthCheckConfig

Returns

bool

operator !=(PassiveHealthCheckConfig?, PassiveHealthCheckConfig?)

public static bool operator !=(PassiveHealthCheckConfig? left, PassiveHealthCheckConfig? right)

Parameters

left PassiveHealthCheckConfig
right PassiveHealthCheckConfig

Returns

bool