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

Class MqttDependencyDefinition

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

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

Describes one MQTT dependency that should contribute to runtime health.

public sealed class MqttDependencyDefinition : DependencyDefinitionBase

objectDependencyDefinitionBaseMqttDependencyDefinition

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

Gets or sets the MQTT client identifier sent in the CONNECT packet.

public string? ClientId { get; set; }

string?

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

public string Host { get; set; }

string

Gets or sets the MQTT keep-alive interval, in seconds, advertised through the CONNECT packet.

public int KeepAliveSeconds { get; set; }

int

Gets or sets the optional password used for MQTT username/password authentication.

public string? Password { get; set; }

string?

Gets or sets the MQTT broker 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 a value indicating whether the probe should use TLS immediately after opening the TCP connection.

public bool UseTls { get; set; }

bool

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

public string? Username { get; set; }

string?