AlertPolicyCondition constructor
const
AlertPolicyCondition({
- Input<
AlertPolicyConditionConditionAbsent?> ? conditionAbsent, - Input<
AlertPolicyConditionConditionMatchedLog?> ? conditionMatchedLog, - Input<
AlertPolicyConditionConditionMonitoringQueryLanguage?> ? conditionMonitoringQueryLanguage, - Input<
AlertPolicyConditionConditionPrometheusQueryLanguage?> ? conditionPrometheusQueryLanguage, - Input<
AlertPolicyConditionConditionSql?> ? conditionSql, - Input<
AlertPolicyConditionConditionThreshold?> ? conditionThreshold, - required Input<
String> displayName, - Input<
String?> ? name,
Creates a new AlertPolicyCondition.
conditionAbsent A condition that checks that a time series
conditionMatchedLog A condition that checks for log messages matching given constraints.
conditionMonitoringQueryLanguage A Monitoring Query Language query that outputs a boolean stream
conditionPrometheusQueryLanguage A condition type that allows alert policies to be defined using
conditionSql A condition that allows alerting policies to be defined using GoogleSQL.
conditionThreshold A condition that compares a time series against a
displayName A short name or phrase used to identify the
name (Output)
Implementation
const AlertPolicyCondition({
this.conditionAbsent,
this.conditionMatchedLog,
this.conditionMonitoringQueryLanguage,
this.conditionPrometheusQueryLanguage,
this.conditionSql,
this.conditionThreshold,
required this.displayName,
this.name,
});