【发布时间】:2018-09-11 18:20:00
【问题描述】:
我的项目中有一个带有外部 IP 的谷歌计算实例。 实例上的描述命令显示:
networkInterfaces:
- accessConfigs:
- kind: compute#accessConfig
name: External NAT
natIP: xx.yyy.nnn.mmm
networkTier: PREMIUM
type: ONE_TO_ONE_NAT
fingerprint: hjhjhjhjh=
kind: compute#networkInterface
name: nic0
network: https://www.googleapis.com/compute/v1/projects/foo-201800/global/networks/default
但是,当我在 cloudshell 上运行时。
$ gcloud config get-value project
Your active configuration is: [cloudshell-xxxx]
foo-201800
$ gcloud compute addresses list
Listed 0 items.
$ gcloud compute addresses list --global
Listed 0 items.
$ gcloud version
Google Cloud SDK 215.0.0
...snipped...
gcloud compute addresses 执行中是否不计入外部临时 IP 地址?
【问题讨论】:
标签: google-compute-engine gcloud