API 与参考文档
本页面介绍可用于 Virtual Private Cloud (VPC) 网络的各个命令。
如需了解这些命令在相关环境中的用法,请参阅 VPC 网络方法指南。
网络 API 和 gcloud
命令是 Compute Engine 的一部分。
gcloud CLI 和 API 参考文档
在操作 VPC 网络时可使用以下资源及其方法。
- 地址:用于创建内部和外部 IP 地址资源,将这些地址资源分配给 Google Cloud 资源,以及修改地址资源。
gcloud、API
- 防火墙规则:用于在 Google Cloud VPC 网络中创建和修改防火墙规则。通过防火墙规则,您可以根据 IP 地址、协议和端口允许或拒绝进出虚拟机实例的流量。
gcloud、API
- 转发规则:用于在 VPC 网络中创建和修改转发规则。转发规则告知网络将传入或经过网络的匹配数据包发往何处。
gcloud、API
- 网络:用于创建、修改和对等互连 VPC 网络。
gcloud、API
- 路由:用于创建和修改 VPC 网络静态路由。静态路由是发送给 VPC 网络的手动配置指令,指示该网络如何转发离开虚拟机实例的流量。
gcloud、API
- 共享 VPC:用于与其他项目共享 VPC 网络并控制该共享。在 API 中,使用
projects
资源修改这些设置。
gcloud、API
- 子网:用于创建、修改和删除 VPC 网络中的子网。
gcloud、API
- 无服务器 VPC 访问通道:用于创建、修改和删除无服务器 VPC 访问通道连接器。
gcloud、API
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]