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

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 : DependencyDefinitionBase

objectDependencyDefinitionBaseRedisDependencyDefinition

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

Gets or sets the optional Redis logical database index to select before pinging.

public int? Database { get; set; }

int?

Gets or sets the Redis host name or IP address to probe.

public string Host { get; set; }

string

Gets or sets the optional Redis password used for authentication.

public string? Password { get; set; }

string?

Gets or sets the Redis TCP port.

public int Port { get; set; }

int

Gets or sets the optional Redis ACL user name used for authentication.

public string? Username { get; set; }

string?