Class RedisDependencyDefinition
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.RedisDependencies.Configuration
Assembly: Cephalon.Observability.RedisDependencies.dll
Describes one Redis dependency that should contribute to runtime health.
public sealed class RedisDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← RedisDependencyDefinition
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”RedisDependencyDefinition()
Section titled “ RedisDependencyDefinition()”Initializes a new instance of the
public RedisDependencyDefinition()Properties
Section titled “Properties”Database
Section titled “ Database”Gets or sets the optional Redis logical database index to select before pinging.
public int? Database { get; set; }Property Value
Section titled “Property Value”int?
Gets or sets the Redis host name or IP address to probe.
public string Host { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional Redis password used for authentication.
public string? Password { get; set; }Property Value
Section titled “Property Value”Gets or sets the Redis TCP port.
public int Port { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional Redis ACL user name used for authentication.
public string? Username { get; set; }