该命令用来删除配置的远程目标,语法如下:
C:\> mc admin bucket remote rm -h
NAME:
mc admin bucket remote rm - remove configured remote target
USAGE:
mc admin bucket remote rm TARGET
FLAGS:
--config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc")
--quiet, -q disable progress bar display
--no-color disable color theme
--json enable JSON lines formatted output
--debug enable debug output
--insecure disable SSL certificate verification
--arn value ARN to be removed
--help, -h show help(1)使用 arn "arn:minio:replication:us-west-1:993bc6b6-accd-45e3-884f-5f3e652aed2a:dest1" 删除现有的远程目标。用于 MinIO 服务器上的存储桶 srcbucket。
C:\> mc admin bucket remote rm myminio/srcbucket --arn "arn:minio:replication:us-west-1:993bc6b6-accd-45e3-884f-5f3e652aed2a:dest1"