gdcloud database clusters list

名稱

gdcloud database clusters list - 列出 DBCluster 自訂資源。

概要

gdcloud database clusters list [flags]

範例

To list DBCluster custom resources with database engine PostgreSQL, run:

  gdcloud database clusters list --database-engine=POSTGRESQL

To list DBCluster custom resources with database engine Oracle in the project "db", run:

  gdcloud database clusters list --project=db --database-engine=ORACLE

To list DBCluster custom resources with database engine AlloyDB Omni in the project "db", run:

  gdcloud database clusters list --project=db --database-engine=ALLOYDBOMNI

To list DBCluster custom resources with all database engines, run:

  gdcloud database clusters list

選用旗標

      --database-engine string   database engine of the DBCluster to be listed.
      --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 參考資料總覽頁面。