mongocli cloud-manager maintenanceWindows update
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Update a maintenance window.
Syntax
mongocli cloud-manager maintenanceWindows update <ID> [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--alertType | strings | false | Alert types to silence during maintenance window. For example: HOST, REPLICA_SET, CLUSTER, AGENT, BACKUP. |
--desc | string | false | Description of the maintenance window. |
--endDate | string | false | Timestamp in ISO 8601 date and time format in UTC when the maintenance window ends. |
-h, --help | false | help for update | |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--startDate | string | false | Timestamp in ISO 8601 date and time format in UTC when the maintenance window starts. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |