Class ElasticsearchDependencyHealthOptions
Namespace: Cephalon.Observability.ElasticsearchDependencies.Configuration
Assembly: Cephalon.Observability.ElasticsearchDependencies.dll
Configures Elasticsearch dependency probes contributed to Cephalon runtime health.
public sealed class ElasticsearchDependencyHealthOptions : DependencyHealthOptionsBase<ElasticsearchDependencyDefinition>Inheritance
Section titled “Inheritance”object ← DependencyHealthOptionsBase<ElasticsearchDependencyDefinition> ← ElasticsearchDependencyHealthOptions
Inherited Members
Section titled “Inherited Members”DependencyHealthOptionsBase<ElasticsearchDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<ElasticsearchDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ElasticsearchDependencyHealthOptions()
Section titled “ ElasticsearchDependencyHealthOptions()”Initializes a new instance of the
public ElasticsearchDependencyHealthOptions()Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Elasticsearch dependency-health options from configuration.
public static ElasticsearchDependencyHealthOptions 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”ElasticsearchDependencyHealthOptions
The bound dependency-health options.