Class MySqlDependencyDefinition
Namespace: Cephalon.Observability.MySqlDependencies.Configuration
Assembly: Cephalon.Observability.MySqlDependencies.dll
Describes one MySQL dependency that should contribute to runtime health.
public sealed class MySqlDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← MySqlDependencyDefinition
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”MySqlDependencyDefinition()
Section titled “ MySqlDependencyDefinition()”Initializes a new instance of the
public MySqlDependencyDefinition()Properties
Section titled “Properties”AllowPublicKeyRetrieval
Section titled “ AllowPublicKeyRetrieval”Gets or sets the optional value that controls whether the server RSA public key may be requested automatically.
public bool? AllowPublicKeyRetrieval { get; set; }Property Value
Section titled “Property Value”bool?
ConnectionString
Section titled “ ConnectionString”Gets or sets the optional full MySQL connection string used for the probe.
public string? ConnectionString { get; set; }Property Value
Section titled “Property Value”Database
Section titled “ Database”Gets or sets the database name used for the health query.
public string Database { get; set; }Property Value
Section titled “Property Value”HealthQuery
Section titled “ HealthQuery”Gets or sets the SQL statement executed to verify the dependency.
public string HealthQuery { get; set; }Property Value
Section titled “Property Value”Gets or sets the MySQL host name or IP address to probe when no full connection string is supplied.
public string Host { get; set; }Property Value
Section titled “Property Value”Password
Section titled “ Password”Gets or sets the optional password used for authentication when no full connection string is supplied.
public string? Password { get; set; }Property Value
Section titled “Property Value”Gets or sets the MySQL TCP port.
public int Port { get; set; }Property Value
Section titled “Property Value”SslMode
Section titled “ SslMode”Gets or sets the optional MySQL SSL mode such as Preferred, Required, VerifyCA, or VerifyFull.
public string? SslMode { get; set; }Property Value
Section titled “Property Value”Username
Section titled “ Username”Gets or sets the optional user name used for authentication when no full connection string is supplied.
public string? Username { get; set; }