stack kb maintenance-window patch-maintenance-window-id cli command
Auth required
elastic stack kb maintenance-window patch-maintenance-window-id \
--id <id> \
[options]
Update a maintenance window.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The identifier for the maintenance window.
--enabled- Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications.
--schedulestring--scopestring--titlestring- The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window.
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON