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

Class ElasticsearchDependencyHealthServiceCollectionExtensions

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

Namespace: Cephalon.Observability.ElasticsearchDependencies.Hosting
Assembly: Cephalon.Observability.ElasticsearchDependencies.dll

Adds Elasticsearch dependency-health services to a Cephalon host.

public static class ElasticsearchDependencyHealthServiceCollectionExtensions

objectElasticsearchDependencyHealthServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonElasticsearchDependencyHealth(IServiceCollection, IConfiguration, Action<ElasticsearchDependencyHealthOptions>?)

Section titled “ AddCephalonElasticsearchDependencyHealth(IServiceCollection, IConfiguration, Action<ElasticsearchDependencyHealthOptions>?)”

Adds Elasticsearch dependency-health services using configuration as the primary source of probe settings.

public static IServiceCollection AddCephalonElasticsearchDependencyHealth(this IServiceCollection services, IConfiguration configuration, Action<ElasticsearchDependencyHealthOptions>? configure = null)

services IServiceCollection

The target service collection.

configuration IConfiguration

The application configuration root.

configure Action<ElasticsearchDependencyHealthOptions>?

An optional callback that can extend or override the configuration-driven dependency-health setup.

IServiceCollection

The same service collection for further registration.

AddCephalonElasticsearchDependencyHealth(IServiceCollection, Action<ElasticsearchDependencyHealthOptions>?)

Section titled “ AddCephalonElasticsearchDependencyHealth(IServiceCollection, Action<ElasticsearchDependencyHealthOptions>?)”

Adds Elasticsearch dependency-health services using code-first configuration.

public static IServiceCollection AddCephalonElasticsearchDependencyHealth(this IServiceCollection services, Action<ElasticsearchDependencyHealthOptions>? configure = null)

services IServiceCollection

The target service collection.

configure Action<ElasticsearchDependencyHealthOptions>?

An optional callback that configures dependency-health options.

IServiceCollection

The same service collection for further registration.