Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli cloud-manager maintenanceWindows create

On this page

  • Syntax
  • Options
  • Inherited Options

Create a maintenance window.

mongocli cloud-manager maintenanceWindows create [options]
Name
Type
Required
Description
--alertType
strings
true
Alert types to silence during maintenance window. Valid values are HOST, REPLICA_SET, CLUSTER, AGENT, or BACKUP.
--desc
string
false
Description of the maintenance window.
--endDate
string
true
Timestamp in ISO 8601 date and time format in UTC when the maintenance window ends.
-h, --help
false
help for create
-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.
--startDate
string
true
Timestamp in ISO 8601 date and time format in UTC when the maintenance window starts.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
←  mongocli cloud-manager maintenanceWindowsmongocli cloud-manager maintenanceWindows delete →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.