gdcloud database migrations promote

名稱

gdcloud database migrations promote - Promote a Migration.

概要

gdcloud database migrations promote MIGRATION_NAME [flags]

範例

To promote a running Migration with name "migration-sample" for PostgreSQL, run:

  gdcloud database migrations promote migration-sample
To promote a running Migration with name "migration" for AlloyDBOmni, run:

  gdcloud database migrations promote migration-sample --database-engine ALLOYDBOMNI

選用旗標

      --database-engine string   Destination DBCluster type. (default "POSTGRESQL")
      --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 參考資料總覽頁面。