mongocli om maintenancewindows update

Update a maintenance window

Options

NameDescription
--alertType <alertType>Alert types to silence during maintenance window. Valid values are HOST, REPLICA_SET, CLUSTER, AGENT, or BACKUP
--desc <desc>Description of the maintenance window
--endDate <endDate>Timestamp in ISO 8601 date and time format in UTC when the maintenance window ends
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--startDate <startDate>Timestamp in ISO 8601 date and time format in UTC when the maintenance window starts