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

--id string required
The identifier for the maintenance window.
--enabled
Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications.
--schedule string
--scope string
--title string
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-file string
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