Class ClickHouseDependencyDefinition
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.ClickHouseDependencies.Configuration
Assembly: Cephalon.Observability.ClickHouseDependencies.dll
Describes one ClickHouse dependency that should contribute to runtime health.
public sealed class ClickHouseDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← ClickHouseDependencyDefinition
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”ClickHouseDependencyDefinition()
Section titled “ ClickHouseDependencyDefinition()”Initializes a new instance of the
public ClickHouseDependencyDefinition()Properties
Section titled “Properties”ConnectionString
Section titled “ ConnectionString”Gets or sets the optional full ClickHouse connection string used for the probe.
public string? ConnectionString { get; set; }Property Value
Section titled “Property Value”Database
Section titled “ Database”Gets or sets the optional ClickHouse database to select for the probe session.
public string? Database { get; set; }Property Value
Section titled “Property Value”HealthQuery
Section titled “ HealthQuery”Gets or sets the SQL statement executed to verify the dependency.
public string HealthQuery { get; set; }Property Value
Section titled “Property Value”Gets or sets the ClickHouse host name or IP address to probe when no full connection string is supplied.
public string Host { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional password used for authentication when no full connection string is supplied.
public string? Password { get; set; }Property Value
Section titled “Property Value”Gets or sets the ClickHouse TCP port used by the selected protocol.
public int Port { get; set; }Property Value
Section titled “Property Value”Protocol
Section titled “ Protocol”Gets or sets the ClickHouse protocol used for the probe, such as http or https.
public string Protocol { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional user name used for authentication when no full connection string is supplied.
public string? Username { get; set; }