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 : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← ElasticsearchDependencyDefinition
Inherited Members
Section titled “Inherited Members”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()
Constructors
Section titled “Constructors”ElasticsearchDependencyDefinition()
Section titled “ ElasticsearchDependencyDefinition()”Initializes a new instance of the
public ElasticsearchDependencyDefinition()Properties
Section titled “Properties”ApiKey
Section titled “ ApiKey”Gets or sets the optional API key used for Elasticsearch API-key authentication.
public string? ApiKey { get; set; }Property Value
Section titled “Property Value”BearerToken
Section titled “ BearerToken”Gets or sets the optional bearer token used for Elasticsearch bearer-token authentication.
public string? BearerToken { get; set; }Property Value
Section titled “Property Value”Endpoint
Section titled “ Endpoint”Gets or sets the absolute Elasticsearch base URL or cluster-health endpoint that should be probed.
public string Endpoint { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional password used for Elasticsearch basic authentication.
public string? Password { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional user name used for Elasticsearch basic authentication.
public string? Username { get; set; }