📣
TiDB Cloud Essential 开放公测中。此页面由 AI 自动翻译,英文原文请见此处。

ticloud serverless authorized-network update



更新授权网络:

ticloud serverless authorized-network update [flags]

示例

在交互模式下更新授权网络:

ticloud serverless authorized-network update

在非交互模式下更新授权网络:

ticloud serverless authorized-network update -c <cluster-id> --start-ip-address <start-ip-address> --end-ip-address <end-ip-address> --new-start-ip-address <new-start-ip-address> --new-end-ip-address <new-end-ip-address>

标志

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

标志描述是否必需注意
-c, --cluster-id string指定集群的 ID。仅在非交互模式下有效。
--start-ip-address string指定授权网络的起始 IP 地址。仅在非交互模式下有效。
--end-ip-address string指定授权网络的结束 IP 地址。仅在非交互模式下有效。
--new-display-name string指定授权网络的新名称。仅在非交互模式下有效。
--new-start-ip-address string指定授权网络的新起始 IP 地址。仅在非交互模式下有效。
--new-end-ip-address string指定授权网络的新结束 IP 地址。仅在非交互模式下有效。
-h, --help显示此命令的帮助信息。在非交互和交互模式下都有效。

继承的标志

标志描述是否必需注意
--no-color禁用输出中的颜色。仅在非交互模式下有效。在交互模式下,禁用颜色可能对某些 UI 组件不起作用。
-P, --profile string指定此命令中使用的活动用户配置文件在非交互和交互模式下都有效。
-D, --debug启用调试模式。在非交互和交互模式下都有效。

反馈

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

文档内容是否有帮助?