In the doc there is a option workerDiskType but I can't make it work. I tried to use persistent SSD. Each time I try something I get a 400
http code without explanation.
在doc中有一个选项workerDiskType但我不能使它工作。我试图使用持久性SSD。每次我尝试一些东西,我得到一个400 http代码,没有解释。
I tried all of those values:
我尝试了所有这些值:
- zones/$ZONE/diskTypes/pd-ssd
- 区/ $ ZONE / diskTypes / PD-SSD
- zones/$ZONE/disks/pd-ssd
- 区/ $ ZONE /磁盘/ PD-SSD
- projects/$PROJECT/zones/$ZONE/diskTypes/pd-ssd
- 项目/ $ PROJECT /区/ $ ZONE / diskTypes / PD-SSD
- projects/$PROJECT/zones/$ZONE/disks/pd-ssd
- 项目/ $ PROJECT /区/ $ ZONE /磁盘/ PD-SSD
What is the correct format? Does this option works?
什么是正确的格式?这个选项有效吗?
The answer I have from Dataflow is not really helpful:
我从Dataflow得到的答案并没有多大帮助:
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Request contains an invalid argument.",
"reason" : "badRequest"
} ],
"message" : "Request contains an invalid argument.",
"status" : "INVALID_ARGUMENT"
}
1 个解决方案
#1
2
"compute.googleapis.com/projects//zones//diskTypes/pd-ssd" is the correct identifier for SSDs
“compute.googleapis.com/projects//zones//diskTypes/pd-ssd”是SSD的正确标识符
#1
2
"compute.googleapis.com/projects//zones//diskTypes/pd-ssd" is the correct identifier for SSDs
“compute.googleapis.com/projects//zones//diskTypes/pd-ssd”是SSD的正确标识符