start_resource_maintenance
Place a VMware resource into maintenance to stop monitoring and alerting during planned work. Preview blast radius first, then confirm to apply, optionally with a timed window for automatic recovery.
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.
Without confirm=True this only previews: it reads the resource and returns blast_radius (resource name and kind, each adapter's state, whether it is in maintenance now, and the requested window) 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 already in maintenance (starting again would replace that window) and a resource whose state cannot be read.
Acting 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. 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. | |
| 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. | |
| 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. |