📣
TiDB Cloud Premium 开放公测中。为企业级工作负载提供无限扩展、即时弹性伸缩和高级安全保障。此页面由 AI 自动翻译,英文原文请见此处。

ti db list-db-cluster-branches



列出一个 TiDB Cloud Starter 实例的分支,并可选择使用分页。该命令会在列出分支前验证父集群是否为 Starter。

语法

ti db list-db-cluster-branches --db-cluster-id <string> [--help] [--page-size <int32>] [--page-token <string>] [--version]

选项

  • --db-cluster-id <string>: Starter DB 集群 ID。[必需]
  • --help: 显示帮助信息。
  • --page-size <int32>: 要请求的分支数量。如果省略或设置为 0,API 最多返回 10 个。API 的最大值为 100;大于 100 的值会被设置为 100
  • --page-token <string>: 上一次调用 list-db-cluster-branches 返回的分页令牌。
  • --version: 显示版本信息。

有关所有命令共享的选项,请参见全局选项

示例

  • 列出集群分支:

    # Return all branches that belong to the selected TiDB Cloud Starter instance. ti db list-db-cluster-branches --db-cluster-id "<cluster-id>"

文档内容是否有帮助?