import * as pulumi from "@pulumi/pulumi"; export declare class AlertingRule extends pulumi.CustomResource { /** * Get an existing AlertingRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AlertingRuleState, opts?: pulumi.CustomResourceOptions): AlertingRule; /** * Returns true if the given object is an instance of AlertingRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AlertingRule; /** * ID of the associated AlertManager settings. */ readonly alertManagerId: pulumi.Output; readonly alertingRuleId: pulumi.Output; /** * Condition operator for threshold comparison. */ readonly conditionOperator: pulumi.Output; /** * Timestamp when the rule was created. */ readonly createdAt: pulumi.Output; /** * User who created the rule. */ readonly createdBy: pulumi.Output; /** * Description of the alert rule. */ readonly description: pulumi.Output; /** * Duration (in seconds) the condition must persist before firing. */ readonly duration: pulumi.Output; /** * Whether the alert rule is enabled. */ readonly enabled: pulumi.Output; /** * Whether the alert rule can be edited. */ readonly isEditable: pulumi.Output; /** * Whether the alert rule is an internal/system rule. */ readonly isInternal: pulumi.Output; /** * Labels associated with the alert rule. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Type of metric for the alert rule. */ readonly metricType: pulumi.Output; /** * Name of the alert rule. */ readonly name: pulumi.Output; /** * The ID of the predefined alert rule to manage. Rules are predefined in Portainer and must be imported by ID. */ readonly ruleId: pulumi.Output; /** * Severity level of the alert rule. */ readonly severity: pulumi.Output; /** * Summary of the alert rule. */ readonly summary: pulumi.Output; /** * Minimum agent version that supports this rule. */ readonly supportedAgentVersion: pulumi.Output; /** * Environment types that support this rule (docker, kubernetes, podman, all). */ readonly supportedEnvironmentTypes: pulumi.Output; /** * Threshold value for the alert rule. */ readonly threshold: pulumi.Output; /** * Timestamp when the rule was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a AlertingRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AlertingRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AlertingRule resources. */ export interface AlertingRuleState { /** * ID of the associated AlertManager settings. */ alertManagerId?: pulumi.Input; alertingRuleId?: pulumi.Input; /** * Condition operator for threshold comparison. */ conditionOperator?: pulumi.Input; /** * Timestamp when the rule was created. */ createdAt?: pulumi.Input; /** * User who created the rule. */ createdBy?: pulumi.Input; /** * Description of the alert rule. */ description?: pulumi.Input; /** * Duration (in seconds) the condition must persist before firing. */ duration?: pulumi.Input; /** * Whether the alert rule is enabled. */ enabled?: pulumi.Input; /** * Whether the alert rule can be edited. */ isEditable?: pulumi.Input; /** * Whether the alert rule is an internal/system rule. */ isInternal?: pulumi.Input; /** * Labels associated with the alert rule. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Type of metric for the alert rule. */ metricType?: pulumi.Input; /** * Name of the alert rule. */ name?: pulumi.Input; /** * The ID of the predefined alert rule to manage. Rules are predefined in Portainer and must be imported by ID. */ ruleId?: pulumi.Input; /** * Severity level of the alert rule. */ severity?: pulumi.Input; /** * Summary of the alert rule. */ summary?: pulumi.Input; /** * Minimum agent version that supports this rule. */ supportedAgentVersion?: pulumi.Input; /** * Environment types that support this rule (docker, kubernetes, podman, all). */ supportedEnvironmentTypes?: pulumi.Input; /** * Threshold value for the alert rule. */ threshold?: pulumi.Input; /** * Timestamp when the rule was last updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a AlertingRule resource. */ export interface AlertingRuleArgs { /** * ID of the associated AlertManager settings. */ alertManagerId?: pulumi.Input; alertingRuleId?: pulumi.Input; /** * Condition operator for threshold comparison. */ conditionOperator?: pulumi.Input; /** * Description of the alert rule. */ description?: pulumi.Input; /** * Duration (in seconds) the condition must persist before firing. */ duration?: pulumi.Input; /** * Whether the alert rule is enabled. */ enabled: pulumi.Input; /** * Labels associated with the alert rule. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Type of metric for the alert rule. */ metricType?: pulumi.Input; /** * Name of the alert rule. */ name?: pulumi.Input; /** * The ID of the predefined alert rule to manage. Rules are predefined in Portainer and must be imported by ID. */ ruleId: pulumi.Input; /** * Severity level of the alert rule. */ severity?: pulumi.Input; /** * Summary of the alert rule. */ summary?: pulumi.Input; /** * Threshold value for the alert rule. */ threshold?: pulumi.Input; } //# sourceMappingURL=alertingRule.d.ts.map