mongocli ops-manager clusters shutdown
关闭项目中的集群。
语法
命令语法
mongocli ops-manager clusters shutdown <clusterName> [options]
参数
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
clusterName | string | true | 您要关闭的集群的名称。 |
选项
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
--force | false | 标志,表示是否在执行请求的操作之前跳过确认提示。 | |
-h, --help | false | shutdown的帮助信息 | |
--processName | strings | false | MongoDB进程的主机唯一标识符,格式为:{hostname}:{port}。 |
--projectId | string | false | 十六进制字符串,用于标识要使用的项目。此选项会覆盖配置文件或环境变量中的设置。 |
继承选项
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
-P, --profile | string | false | 从配置文件中使用的配置文件名。有关MongoCLI配置文件的配置信息,请参阅https://dochub.mongodb.org/core/atlas-cli-configuration-file. |