ti fs delete-file-system
开始删除一个 Filesystem。删除操作会在命令返回后以异步方式运行。你必须指定 --file-system-id;显示名称、标签和 Filesystem 访问令牌都不能用于标识要删除的 Filesystem。此命令需要 TiDB Cloud API 凭证。
语法
ti fs delete-file-system
--file-system-id <string>
[--dry-run]
[--help]
[--version]
选项
--file-system-id <string>:设置不可变的 Filesystem ID。FS tokens 不能替代此选项,也不能用于授予删除 Filesystem 的权限。[required]--dry-run:验证请求而不应用更改。--help:显示帮助信息。--version:显示版本信息。
有关所有命令共享的选项,请参见全局选项。
示例
删除一个 Filesystem:
# Request asynchronous deletion and remove only the matching local credential after acceptance. ti fs delete-file-system --file-system-id <file-system-id>预览 Filesystem 删除:
# Validate the selected Filesystem without sending the deletion request. ti fs delete-file-system --file-system-id <file-system-id> --dry-run