AlertPolicyConditionConditionSql class
Constructors
-
AlertPolicyConditionConditionSql({Input<
AlertPolicyConditionConditionSqlBooleanTest?> ? booleanTest, Input<AlertPolicyConditionConditionSqlDaily?> ? daily, Input<AlertPolicyConditionConditionSqlHourly?> ? hourly, Input<AlertPolicyConditionConditionSqlMinutes?> ? minutes, required Input<String> query, Input<AlertPolicyConditionConditionSqlRowCountTest?> ? rowCountTest}) -
Creates a new AlertPolicyConditionConditionSql.
booleanTestA test that uses an alerting result in a boolean column produced by the SQL query.dailyUsed to schedule the query to run every so many days.hourlyUsed to schedule the query to run every so many hours.minutesUsed to schedule the query to run every so many minutes.queryThe Log Analytics SQL query to run, as a string. The query mustrowCountTestA test that checks if the number of rows in the result set violates some threshold.const -
AlertPolicyConditionConditionSql.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
booleanTest
→ Input<
AlertPolicyConditionConditionSqlBooleanTest?> ? -
A test that uses an alerting result in a boolean column produced by the SQL query.
Structure is documented below.
final
-
daily
→ Input<
AlertPolicyConditionConditionSqlDaily?> ? -
Used to schedule the query to run every so many days.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hourly
→ Input<
AlertPolicyConditionConditionSqlHourly?> ? -
Used to schedule the query to run every so many hours.
Structure is documented below.
final
-
minutes
→ Input<
AlertPolicyConditionConditionSqlMinutes?> ? -
Used to schedule the query to run every so many minutes.
Structure is documented below.
final
-
query
→ Input<
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.
final
-
rowCountTest
→ Input<
AlertPolicyConditionConditionSqlRowCountTest?> ? -
A test that checks if the number of rows in the result set violates some threshold.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited