AlertPolicyCondition constructor

const AlertPolicyCondition({
  1. Input<AlertPolicyConditionConditionAbsent?>? conditionAbsent,
  2. Input<AlertPolicyConditionConditionMatchedLog?>? conditionMatchedLog,
  3. Input<AlertPolicyConditionConditionMonitoringQueryLanguage?>? conditionMonitoringQueryLanguage,
  4. Input<AlertPolicyConditionConditionPrometheusQueryLanguage?>? conditionPrometheusQueryLanguage,
  5. Input<AlertPolicyConditionConditionSql?>? conditionSql,
  6. Input<AlertPolicyConditionConditionThreshold?>? conditionThreshold,
  7. required Input<String> displayName,
  8. 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,
});