gdcloud compute disks start-async-replication

NAME

gdcloud compute disks start-async-replication - 在虚拟机磁盘上启动异步复制。此命令必须在主磁盘上调用,并且必须提供 --secondary-disk。

SYNOPSIS

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 参考文档概览页面。