📣

TiDB Cloud Serverless 现已更名为
Starter
!此页面由 AI 自动翻译,英文原文请见
此处。

ticloud serverless update

更新一个 TiDB Cloud Serverless 集群:

ticloud serverless update [flags]

示例

以交互模式更新一个 TiDB Cloud Serverless 集群:

ticloud serverless update

以非交互模式更新 TiDB Cloud Serverless 集群的名称:

ticloud serverless update -c <cluster-id> --display-name <new-display-mame>

以非交互模式更新 TiDB Cloud Serverless 集群的标签:

ticloud serverless update -c <cluster-id> --labels "{\"label1\":\"value1\"}"

参数

在非交互模式下,你需要手动输入所需的参数。在交互模式下,你只需按照 CLI 提示填写即可。

参数描述是否必需备注
-c, --cluster-id string指定集群的 ID。仅在非交互模式下生效。
-n --display-name string指定集群的新名称。仅在非交互模式下生效。
--labels string指定集群的新标签。仅在非交互模式下生效。
--disable-public-endpoint禁用集群的公共访问端点。仅在非交互模式下生效。
-h, --help显示该命令的帮助信息。在非交互和交互模式下均可用。

继承参数

参数描述是否必需备注
--no-color禁用输出中的颜色。仅在非交互模式下生效。在交互模式下,禁用颜色可能会影响部分 UI 组件的显示。
-P, --profile string指定该命令使用的活动 用户配置文件在非交互和交互模式下均可用。
-D, --debug启用调试模式。在非交互和交互模式下均可用。

反馈

如果你对 TiDB Cloud CLI 有任何问题或建议,欢迎创建 issue。同时,我们也欢迎任何贡献。

文档内容是否有帮助?