Class OpenSearchDependencyHealthOptions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.OpenSearchDependencies.Configuration
Assembly: Cephalon.Observability.OpenSearchDependencies.dll
Configures OpenSearch dependency probes contributed to Cephalon runtime health.
public sealed class OpenSearchDependencyHealthOptions : DependencyHealthOptionsBase<OpenSearchDependencyDefinition>Inheritance
Section titled “Inheritance”object ← DependencyHealthOptionsBase<OpenSearchDependencyDefinition> ← OpenSearchDependencyHealthOptions
Inherited Members
Section titled “Inherited Members”DependencyHealthOptionsBase<OpenSearchDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<OpenSearchDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”OpenSearchDependencyHealthOptions()
Section titled “ OpenSearchDependencyHealthOptions()”Initializes a new instance of the
public OpenSearchDependencyHealthOptions()Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds OpenSearch dependency-health options from configuration.
public static OpenSearchDependencyHealthOptions 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”OpenSearchDependencyHealthOptions
The bound dependency-health options.