名稱
gdcloud compute disks start-async-replication - Start async replication on a virtual machine disk. 這個指令必須在主要磁碟上叫用,且必須提供 --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
。
詳情請參閱 gcloud CLI 參考資料總覽頁面。