Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google compute engine 是否可以为Google Cloud gcloud工具设置默认机器类型和默认图像?_Google Compute Engine_Google Cloud Platform - Fatal编程技术网

Google compute engine 是否可以为Google Cloud gcloud工具设置默认机器类型和默认图像?

Google compute engine 是否可以为Google Cloud gcloud工具设置默认机器类型和默认图像?,google-compute-engine,google-cloud-platform,Google Compute Engine,Google Cloud Platform,我已经安装并配置了谷歌云SDK。它工作得很好,但调用命令往往有点长 是否可以将默认机器类型和默认图像设置为与默认区域和区域一样使用 $ gcloud config list [compute] region = europe-west1 zone = europe-west1-c 特别是,我想使用Canonical的Ubuntu 14.10映像和n1-standard-2,而不是 --machine-type MACHINE_TYPE; default="n1-standard-1"

我已经安装并配置了谷歌云SDK。它工作得很好,但调用命令往往有点长

是否可以将默认机器类型和默认图像设置为与默认区域和区域一样使用

$ gcloud config list  
[compute]
region = europe-west1
zone = europe-west1-c
特别是,我想使用Canonical的Ubuntu 14.10映像和n1-standard-2,而不是

--machine-type MACHINE_TYPE; default="n1-standard-1"
                       Specifies the machine type used for the instances.

还是我需要做一些丑陋的事情,比如化名

图像和类型计算机不是计算属性的一部分。如果确实运行命令
gcloud config list--all
,则可以看到可以设置的属性