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>Inheritance
Section titled “Inheritance”object ← DependencyHealthOptionsBase<PostgresDependencyDefinition> ← PostgresDependencyHealthOptions
Inherited Members
Section titled “Inherited Members”DependencyHealthOptionsBase<PostgresDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<PostgresDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”PostgresDependencyHealthOptions()
Section titled “ PostgresDependencyHealthOptions()”Initializes a new instance of the
public PostgresDependencyHealthOptions()Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Postgres dependency-health options from configuration.
public static PostgresDependencyHealthOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”PostgresDependencyHealthOptions
The bound dependency-health options.