在google compute中创建磁盘出错(找不到资源'... diskTypes / {pd-ssd}'

时间:2015-06-22 18:05:37

标签: google-cloud-storage google-compute-engine

我尝试在Google Compute中创建一个磁盘。这是过程和错误:

gcloud compute disks create test --type={pd-ssd}

    For the following disks:
 - [test]
choose a zone:
 [1] asia-east1-a
 [2] asia-east1-c
 [3] asia-east1-b
 [4] europe-west1-c
 [5] europe-west1-b
 [6] europe-west1-d
 [7] us-central1-a
 [8] us-central1-b
 [9] us-central1-c
 [10] us-central1-f
Please enter your numeric choice:  9

NAME ZONE SIZE_GB TYPE STATUS
ERROR: (gcloud.compute.disks.create) Some requests did not succeed:
 - The resource 'projects/devco-979/zones/us-central1-c/diskTypes/{pd-ssd}' was not found

为什么会这样?

1 个答案:

答案 0 :(得分:2)

删除大括号:

gcloud compute disks create test --type=pd-ssd

修改

根据您为gcloud compute disk-types列表提供的输出,您无权访问pd-ssd驱动器。通常这是因为你仍然在免费等级。如果您升级到付费服务,您将可以访问pd-ssd驱动器。