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

Class ElasticsearchDependencyDefinition

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

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

Describes one Elasticsearch dependency that should contribute to runtime health.

public sealed class ElasticsearchDependencyDefinition : DependencyDefinitionBase

objectDependencyDefinitionBaseElasticsearchDependencyDefinition

DependencyDefinitionBase.Id, DependencyDefinitionBase.DisplayName, DependencyDefinitionBase.Required, DependencyDefinitionBase.TimeoutSeconds, 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 ElasticsearchDependencyDefinition()

Gets or sets the optional API key used for Elasticsearch API-key authentication.

public string? ApiKey { get; set; }

string?

Gets or sets the optional bearer token used for Elasticsearch bearer-token authentication.

public string? BearerToken { get; set; }

string?

Gets or sets the absolute Elasticsearch base URL or cluster-health endpoint that should be probed.

public string Endpoint { get; set; }

string

Gets or sets the optional password used for Elasticsearch basic authentication.

public string? Password { get; set; }

string?

Gets or sets the optional user name used for Elasticsearch basic authentication.

public string? Username { get; set; }

string?