mongocli atlas maintenanceWindows update
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Update the maintenance window.
Syntax
mongocli atlas maintenanceWindows update [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--dayOfWeek | int | false | Day of the week that you want the maintenance window to start, as a 1-based integer. |
-h, --help | false | help for update | |
--hourOfDay | int | false | Hour of the day that you want the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0 and noon is 12. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--startASAP | false | Flag that, if specified, indicates to start maintenance immediately upon receiving this request. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |