gdcloud storage buckets list

名稱

gdcloud storage buckets list - 列出所有儲存空間 bucket。

概要

gdcloud storage buckets list --location=LOCATION --location-type=LOCATION_TYPE [--project=PROJECT_ID] [flags]

範例

To list the zonal storage buckets, run:

    gdcloud storage buckets list --location=zone1 --location-type=singlezone

To list asynchronous dual-zone buckets in the given locations, run:

     gdcloud storage buckets list --location=zone1,zone2 --location-type=asyncdualzone

To list synchronous dual-zone buckets in the given locations, run:

     gdcloud storage buckets list --location=zone1,zone2 --location-type=syncdualzone

必要標記

      --location string        Comma-separated list of zones where the storage buckets are available.
      --location-type string   Bucket location configuration type. Available options are: [AsyncDualZone, SyncDualZone, SingleZone].

選用旗標

      --limit int   Maximum number of resources to list. The default is unlimited.

GDCLOUD 廣泛標記

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gcloud CLI 參考資料總覽頁面。