start_resource_maintenance
Pause alerts and data collection for a resource during planned maintenance. Specify a duration or end time for automatic exit, or choose manual mode that lasts until you end it.
Instructions
[WRITE] Put one resource in maintenance so Aria stops alerting on it and collecting its data — use before planned work such as powering a VM or host off.
Pass duration_minutes OR end_time_ms for a timed window (state MAINTAINED; the resource returns to its prior state when it expires). Pass neither for manual maintenance (MAINTAINED_MANUAL) that lasts until end_resource_maintenance — easy to forget, so prefer a window. Returns the state before and after, confirmed (true / false / null when the after-state could not be read — null is unknown, not failure) and a note. Default confirmed=False returns a preview without connecting. Undo: end_resource_maintenance, recorded only when the resource was known not to be in maintenance before.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Aria target name from config; default when omitted. | |
| confirmed | No | Must be True to actually start maintenance. Default False = preview only. | |
| end_time_ms | No | Window end as epoch MILLISECONDS in the future. Not with duration_minutes. | |
| resource_id | Yes | Resource UUID from list_resources (not the resource name). | |
| duration_minutes | No | Window length in whole minutes, 1-525600. Not with end_time_ms. |