AlertPolicyConditionConditionSqlArgs

data class AlertPolicyConditionConditionSqlArgs(val booleanTest: Output<AlertPolicyConditionConditionSqlBooleanTestArgs>? = null, val daily: Output<AlertPolicyConditionConditionSqlDailyArgs>? = null, val hourly: Output<AlertPolicyConditionConditionSqlHourlyArgs>? = null, val minutes: Output<AlertPolicyConditionConditionSqlMinutesArgs>? = null, val query: Output<String>, val rowCountTest: Output<AlertPolicyConditionConditionSqlRowCountTestArgs>? = null) : ConvertibleToJava<AlertPolicyConditionConditionSqlArgs>

Constructors

Link copied to clipboard
constructor(booleanTest: Output<AlertPolicyConditionConditionSqlBooleanTestArgs>? = null, daily: Output<AlertPolicyConditionConditionSqlDailyArgs>? = null, hourly: Output<AlertPolicyConditionConditionSqlHourlyArgs>? = null, minutes: Output<AlertPolicyConditionConditionSqlMinutesArgs>? = null, query: Output<String>, rowCountTest: Output<AlertPolicyConditionConditionSqlRowCountTestArgs>? = null)

Properties

Link copied to clipboard

A test that uses an alerting result in a boolean column produced by the SQL query. Structure is documented below.

Link copied to clipboard

Used to schedule the query to run every so many days. Structure is documented below.

Link copied to clipboard

Used to schedule the query to run every so many hours. Structure is documented below.

Link copied to clipboard

Used to schedule the query to run every so many minutes. Structure is documented below.

Link copied to clipboard
val query: Output<String>

The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.

Link copied to clipboard

A test that checks if the number of rows in the result set violates some threshold. Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): AlertPolicyConditionConditionSqlArgs