Google Compute Engine:如何删除名称中带有空格(“外部NAT")的访问配置? [英] Google Compute Engine: how to delete access config with whitespace in name ("External NAT")?
本文介绍了Google Compute Engine:如何删除名称中带有空格(“外部NAT")的访问配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试删除我的一个Google Compute Engine实例的访问配置,如
I'm trying to delete the access config for one of my Google Compute Engine instances, and as described in some of the documentation, the access config for my instance is named "External NAT" rather than the default "external-nat". When I try to run:
gcloud compute instances delete-access-config my-instance-name --access-config-name="External NAT"
我收到以下错误:
ERROR: (gcloud.compute.instances.delete-access-config) unrecognized arguments: NAT
我假设外部NAT"中的空间错误.似乎这应该是一个简单的修复程序,但我无法弄清楚.任何帮助将不胜感激!
I'm assuming the error of the space in "External NAT". Seems like this should be a simple fix but I can't figure it out. Any help would be much appreciated!
推荐答案
gcloud compute instances delete-access-config test-instance --access-config-name="External NAT" --network-interface="nic0" --zone="us-east1-b"
这篇关于Google Compute Engine:如何删除名称中带有空格(“外部NAT")的访问配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文