condition Prometheus Query Language
suspend fun conditionPrometheusQueryLanguage(value: Output<AlertPolicyConditionConditionPrometheusQueryLanguageArgs>)
suspend fun conditionPrometheusQueryLanguage(value: AlertPolicyConditionConditionPrometheusQueryLanguageArgs?)
Parameters
value
A condition type that allows alert policies to be defined using Prometheus Query Language (PromQL). The PrometheusQueryLanguageCondition message contains information from a Prometheus alerting rule and its associated rule group. Structure is documented below.
suspend fun conditionPrometheusQueryLanguage(argument: suspend AlertPolicyConditionConditionPrometheusQueryLanguageArgsBuilder.() -> Unit)
Parameters
argument
A condition type that allows alert policies to be defined using Prometheus Query Language (PromQL). The PrometheusQueryLanguageCondition message contains information from a Prometheus alerting rule and its associated rule group. Structure is documented below.