mongocli cloud-manager maintenanceWindows update
On this page
Update a maintenance window.
Syntax
Command Syntax
mongocli cloud-manager maintenanceWindows update <ID> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
ID | string | true | Maintenance window identifier. |
Options
Name | Type | Required | Description |
---|---|---|---|
--alertType | strings | false | Alert types to silence during the maintenance window. Valid values include HOST, REPLICA_SET, CLUSTER, AGENT, or BACKUP. Passing this flag replaces preexisting data. |
--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 are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option. |
--projectId | string | false | Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable. |
--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 | Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |