Class PostgresDependencyDefinition
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.PostgresDependencies.Configuration
Assembly: Cephalon.Observability.PostgresDependencies.dll
Describes one Postgres dependency that should contribute to runtime health.
public sealed class PostgresDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← PostgresDependencyDefinition
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”PostgresDependencyDefinition()
Section titled “ PostgresDependencyDefinition()”Initializes a new instance of the
public PostgresDependencyDefinition()Properties
Section titled “Properties”ConnectionString
Section titled “ ConnectionString”Gets or sets the optional full Postgres 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 database name used for the health query.
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 Postgres 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 Postgres TCP port.
public int Port { get; set; }Property Value
Section titled “Property Value”SslMode
Section titled “ SslMode”Gets or sets the optional Postgres SSL mode used when building the probe connection string.
public string? SslMode { 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; }