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

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

objectDependencyDefinitionBaseMySqlDependencyDefinition

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

Gets or sets the optional value that controls whether the server RSA public key may be requested automatically.

public bool? AllowPublicKeyRetrieval { get; set; }

bool?

Gets or sets the optional full MySQL connection string used for the probe.

public string? ConnectionString { get; set; }

string?

Gets or sets the database name used for the health query.

public string Database { get; set; }

string

Gets or sets the SQL statement executed to verify the dependency.

public string HealthQuery { get; set; }

string

Gets or sets the MySQL host name or IP address to probe when no full connection string is supplied.

public string Host { get; set; }

string

Gets or sets the optional password used for authentication when no full connection string is supplied.

public string? Password { get; set; }

string?

Gets or sets the MySQL TCP port.

public int Port { get; set; }

int

Gets or sets the optional MySQL SSL mode such as Preferred, Required, VerifyCA, or VerifyFull.

public string? SslMode { get; set; }

string?

Gets or sets the optional user name used for authentication when no full connection string is supplied.

public string? Username { get; set; }

string?