名稱
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
選用旗標
--limit int Maximum number of resources to list. The default is unlimited.
--location string Comma-separated list of zones where the storage buckets are available. If unset, will use current zone as the location
--location-type string Bucket location configuration type. Available options are: [AsyncDualZone, SyncDualZone, SingleZone]. (default "singlezone")
GDCLOUD 廣泛旗標
所有指令都可使用這些旗標:--configuration、--format、--help、--project、--quiet。
詳情請參閱 gdcloud CLI 參考資料總覽頁面。