Class SqlMonitorConfiguration
Request configuration details for the SQL monitor type.
Inheritance
SqlMonitorConfiguration
Assembly: OCI.DotNetSDK.Apmsynthetics.dll
Syntax
public class SqlMonitorConfiguration : MonitorConfiguration
Properties
ConnectionString
Declaration
[JsonProperty(PropertyName = "connectionString")]
public string ConnectionString { get; set; }
Property Value
Type |
Description |
string |
Database connection string.
|
DatabaseAuthenticationDetails
Declaration
[JsonProperty(PropertyName = "databaseAuthenticationDetails")]
public BasicAuthenticationDetails DatabaseAuthenticationDetails { get; set; }
Property Value
DatabaseConnectionType
Declaration
[JsonProperty(PropertyName = "databaseConnectionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseConnectionType? DatabaseConnectionType { get; set; }
Property Value
Type |
Description |
DatabaseConnectionType? |
Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
|
DatabaseRole
Declaration
[JsonProperty(PropertyName = "databaseRole")]
public string DatabaseRole { get; set; }
Property Value
Type |
Description |
string |
Database role.
|
DatabaseType
Declaration
[JsonProperty(PropertyName = "databaseType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseType? DatabaseType { get; set; }
Property Value
DatabaseWalletDetails
Declaration
[JsonProperty(PropertyName = "databaseWalletDetails")]
public DatabaseWalletDetails DatabaseWalletDetails { get; set; }
Property Value
Query
Declaration
[JsonProperty(PropertyName = "query")]
public string Query { get; set; }
Property Value
Type |
Description |
string |
SQL query to be executed.
|