3 Resources alert
Forgejo Actions edited this page 2026-11-18 21:50:59 +00:00

xyops_alert (Resource)

Schema

Required

  • expression (String)
  • message (String)
  • title (String)

Optional

  • actions (String)
  • enabled (Boolean)
  • groups (List of String)
  • limit_jobs (Boolean) While the alert is active, hold new jobs on the affected servers. Omit to leave unmanaged.
  • max_count (Number)
  • monitor_id (String)
  • notes (String)
  • samples (Number)

Read-Only

  • id (String) The ID of this resource.

Import

Import by ID, e.g. tofu import xyops_alert.<name> <id>.