ข้ามไปยังเนื้อหา

Class PostgresDependencyHealthOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Observability.PostgresDependencies.Configuration
Assembly: Cephalon.Observability.PostgresDependencies.dll

Configures Postgres dependency probes contributed to Cephalon runtime health.

public sealed class PostgresDependencyHealthOptions : DependencyHealthOptionsBase<PostgresDependencyDefinition>

objectDependencyHealthOptionsBase<PostgresDependencyDefinition>PostgresDependencyHealthOptions

DependencyHealthOptionsBase<PostgresDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<PostgresDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public PostgresDependencyHealthOptions()

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Binds Postgres dependency-health options from configuration.

public static PostgresDependencyHealthOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The application configuration root.

sectionPath string

The configuration section path that contains the engine settings. The default is Engine.

PostgresDependencyHealthOptions

The bound dependency-health options.