end_resource_maintenance
Take a resource out of maintenance mode to resume alerting and data collection. Preview the blast radius, then confirm to apply the change.
Instructions
[WRITE] Take one resource out of maintenance so Aria resumes alerting on it and collecting its data.
Without confirm=True this only previews: it reads the resource and returns blast_radius (resource name and kind, each adapter's state, the maintenance mode it is in) and changes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user asked earlier: they have not seen what it changes yet. Refused with confirm=True: a resource known not to be in maintenance (an adapter reports a state such as STARTED or STOPPED — nothing to end), and a resource whose state is unknown (unreadable, or reported as UNKNOWN / NONE) — end that one from the Aria UI or the CLI after checking it.
Acting returns the state before and after, confirmed (true / false / null when unknown) and a note. Undo: start_resource_maintenance (re-enters as manual maintenance), recorded only when the resource was known to be in maintenance before.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Aria target name from config; default when omitted. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True applies it. | |
| confirmed | No | Deprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True. | |
| resource_id | Yes | Resource UUID from list_resources (not the resource name). |