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

Class NatsDependencyDefinition

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

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

Describes one NATS dependency that should contribute to runtime health.

public sealed class NatsDependencyDefinition : DependencyDefinitionBase

objectDependencyDefinitionBaseNatsDependencyDefinition

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

Gets or sets the optional client name sent in the NATS CONNECT payload.

public string? ClientName { get; set; }

string?

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

public string Host { get; set; }

string

Gets or sets the optional password used for NATS user/password authentication.

public string? Password { get; set; }

string?

Gets or sets the NATS client port.

public int Port { get; set; }

int

Gets or sets the TLS server name used for certificate validation when is enabled.

public string? TlsServerName { get; set; }

string?

Gets or sets the optional auth token used for token-based NATS authentication.

public string? Token { get; set; }

string?

Gets or sets a value indicating whether the probe should upgrade the connection to TLS after reading the initial server info line.

public bool UseTls { get; set; }

bool

Gets or sets the optional user name used for NATS user/password authentication.

public string? Username { get; set; }

string?