名称
gdcloud compute disks list - 列出虚拟机磁盘。
摘要
gdcloud compute disks list [flags]
示例
To list all disks in project "example-project" in multi-zone environment, run:
gdcloud compute disks list --project example-project --zone us-east1-a
To list all disks in project "example-project" in non multi-zone environment, run
gdcloud compute disks list --project example-project
可选标志
--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 参考概览页面。