mongocli cloud-manager clusters describe
描述一个集群。
当描述没有输出格式的集群时,请提供集群ID。当使用输出格式时,请提供集群名称。
语法
命令语法
mongocli cloud-manager clusters describe <id|name> [options]
参数
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
id|name | 字符串 | true | 集群的名称或ID。 |
选项
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
-h, --help | false | describe的帮助信息 | |
-o, --output | 字符串 | false | 输出格式。有效值有json、json-path、go-template或go-template-file。要查看完整的输出,请使用-o json选项。 |
--projectId | 字符串 | false | 标识要使用的项目的十六进制字符串。此选项覆盖配置文件或环境变量的设置。 |
继承选项
名称 | 类型 | 必需 | 描述 |
---|---|---|---|
-P, --profile | 字符串 | false | 从配置文件中使用的配置文件名。有关MongoCLI配置文件的配置文件信息,请参阅https://dochub.mongodb.org/core/atlas-cli-configuration-file. |