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

Class CassandraDependencyDefinition

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

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

Describes one Cassandra dependency that should contribute to runtime health.

public sealed class CassandraDependencyDefinition : DependencyDefinitionBase

object ← DependencyDefinitionBase ← CassandraDependencyDefinition

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 CassandraDependencyDefinition()

Gets or sets the Cassandra contact points used to establish the probe session.

public IReadOnlyList<string> ContactPoints { get; set; }

IReadOnlyList<string>

Gets or sets the CQL statement executed to verify the dependency.

public string HealthQuery { get; set; }

string

Gets or sets the optional Cassandra keyspace used when opening the probe session.

public string? Keyspace { get; set; }

string?

Gets or sets the optional password used for authentication.

public string? Password { get; set; }

string?

Gets or sets the Cassandra native-protocol TCP port.

public int Port { get; set; }

int

Gets or sets the optional user name used for authentication.

public string? Username { get; set; }

string?