Skip to main content

AlertingRuleTiers

Resource AlertingRuleTiers in pulumi-portainer.
3 min read

Resource AlertingRuleTiers in pulumi-portainer.

Pulumi type: portainer:index/alertingRuleTiers:AlertingRuleTiers.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
alertingRuleTiersIdstringno
conditionOperatorstringnoComparison the thresholds are evaluated with: >, <, =, >= or <=. Some built-in rules fix the operator and reject a change to it.
descriptionstringnoDescription stored on the rule. Leave unset to keep what the rule already has.
durationnumbernoHow long the condition has to hold before the rule fires, in the unit the rule itself uses.
enabledbooleannoWhether the rule is enabled.
ruleIdnumberyesIdentifier of the alert rule to configure. The rule has to be an editable internal rule; Portainer rejects the call for others.
tiersAlertingRuleTiersTier (input)[]yesSeverity tiers of the rule, in order. Each tier fires at its own threshold.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
alertingRuleTiersIdstringno
conditionOperatorstringnoComparison the thresholds are evaluated with: >, <, =, >= or <=. Some built-in rules fix the operator and reject a change to it.
descriptionstringnoDescription stored on the rule. Leave unset to keep what the rule already has.
durationnumbernoHow long the condition has to hold before the rule fires, in the unit the rule itself uses.
enabledbooleannoWhether the rule is enabled.
ruleIdnumbernoIdentifier of the alert rule to configure. The rule has to be an editable internal rule; Portainer rejects the call for others.
tiersAlertingRuleTiersTier (output)[]noSeverity tiers of the rule, in order. Each tier fires at its own threshold.
useTiersbooleanyesWhether Portainer actually evaluates the rule per tier. A rule that reports false here is still using its single threshold.

AlertingRuleTiersTier (input)#

Input object AlertingRuleTiersTier. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
enabledbooleannoWhether this tier is evaluated.
severitystringyesSeverity this tier raises: critical, warning or info.
thresholdnumberyesValue the metric is compared against for this tier.

AlertingRuleTiersTier (output)#

Output object AlertingRuleTiersTier. Fields below belong to this object.

PropertyTypeAlways presentDescription
enabledbooleannoWhether this tier is evaluated.
severitystringyesSeverity this tier raises: critical, warning or info.
thresholdnumberyesValue the metric is compared against for this tier.