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 : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← MqttDependencyDefinition
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”MqttDependencyDefinition()
Section titled “ MqttDependencyDefinition()”Initializes a new instance of the
public MqttDependencyDefinition()Properties
Section titled “Properties”ClientId
Section titled “ ClientId”Gets or sets the MQTT client identifier sent in the CONNECT packet.
public string? ClientId { get; set; }Property Value
Section titled “Property Value”Gets or sets the MQTT host name or IP address to probe.
public string Host { get; set; }Property Value
Section titled “Property Value”KeepAliveSeconds
Section titled “ KeepAliveSeconds”Gets or sets the MQTT keep-alive interval, in seconds, advertised through the CONNECT packet.
public int KeepAliveSeconds { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional password used for MQTT username/password authentication.
public string? Password { get; set; }Property Value
Section titled “Property Value”Gets or sets the MQTT broker port.
public int Port { get; set; }Property Value
Section titled “Property Value”TlsServerName
Section titled “ TlsServerName”Gets or sets the TLS server name used for certificate validation when
public string? TlsServerName { get; set; }Property Value
Section titled “Property Value”UseTls
Section titled “ UseTls”Gets or sets a value indicating whether the probe should use TLS immediately after opening the TCP connection.
public bool UseTls { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional user name used for MQTT username/password authentication.
public string? Username { get; set; }