管理集群的在线存档。
公共预览版: Atlas API子命令从MongoDB Atlas Admin API自动生成,提供对 Admin API的全面覆盖,目前处于公共预览阶段(请通过以下网址提供反馈:https://反馈.mongodb.com/forum/930808-Atlas-cli)。Admin API功能有自己的发布生命周期,您可以通过提供的API端点文档链接进行检查。
选项
名称 | 类型 | 必需 | 说明 |
---|---|---|---|
-h,--help | false | onlineArchives 帮助 |
继承选项
名称 | 类型 | 必需 | 说明 |
---|---|---|---|
-P, --profile | 字符串 | false | 要从您的配置文件中使用的配置文件的名称。要学习;了解Atlas CLI配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。 |
相关命令
Atlas 集群 Atlas Online Archive 创建 — 为指定的 cluster 中的 collection 创建 Atlas Online Archive。
Atlas 集群 Atlas Online Archive delete - 从集群中删除指定的 Atlas Online Archive。
Atlas 集群 Atlas Online Archive describe — 返回集群的指定 Atlas Online Archive 的详细信息。
Atlas 集群 onlineArchives list - 返回你的集群的所有在线存档。
Atlas 集群 Atlas Online Archive - 暂停你的集群的指定存档。
atlas clusters onlineArchives start — 从集群启动已暂停的在线存档。
Atlas 集群 Atlas Online Archive 更新 - 修改集群指定的 Atlas Online Archive 的存档规则。
Atlas 集群 onlineArchives watch — 监视存档是否可用。