名称
gdcloud compute disks start-async-replication - 在虚拟机磁盘上开始异步复制。必须在主磁盘上调用此命令,并且必须提供 --secondary-disk。
摘要
gdcloud compute disks start-async-replication DISK_NAME [flags]
示例
To start replication from the primary disk 'example-disk-1' in zone us-east1-a to the secondary disk 'example-disk-2' in zone us-west1-a, run:
gdcloud compute disks start-async-replication example-disk-1 \
--project example-project \
--zone us-east1-a \
--secondary-disk example-disk-2 \
--secondary-zone us-west1-a
必需标志
--secondary-zone string Zone of the secondary disk for asynchronous replication.
可选标志
--secondary-disk string Secondary disk for asynchronous replication.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD 全局标志
以下标志适用于所有命令:--configuration
、--format
、--help
、--project
、--quiet
。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。