You need to enable JavaScript to run this app.
导航
查询NAT网关绑定的弹性公网IP列表
最近更新时间:2025.09.18 11:43:29首次发布时间:2025.09.17 17:15:28
复制全文
我的收藏
有用
有用
无用
无用

本接口用于查询 NAT 网关绑定的弹性公网 IP 的列表。

请求说明

  • 请求方式:GET
  • 请求地址:https://veenedge.volcengineapi.com/?Action=ListEipsOfNatGateway&Version=2021-04-30

请求参数

下表列出了接口特定的请求参数以及公共请求参数 Action 和 Version。 其他公共参数,请参见公共参数

Query

参数
类型
是否必选
示例值
描述
Action
String
ListEipsOfNatGateway
接口名称。当前 API 的名称为 ListEipsOfNatGateway
Version
String
2021-04-30
接口版本。当前 API 的版本为 2021-04-30
natgw_identity
String
natgw-xf6lpcbnxbl****
NAT 网关的 ID。您可以调用 ListNatGateways 接口查询 NAT 网关的 ID。

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结果

参数
类型
示例值
描述
eip_list
Object[]
-
弹性公网 IP 的列表。
total_count
Integer
100
弹性公网 IP 的总数。

请求示例

GET https://veenedge.volcengineapi.com/?Action=ListEipsOfNatGateway&Version=2021-04-30&natgw_identity=natgw-xf6lpcbnxbl****

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20250915174650735BD646A844BF59****",
        "Action": "ListEipsOfNatGateway",
        "Version": "2021-04-30",
        "Service": "veenedge",
        "Region": "cn-north-1"
    },
    "Result": {
        "eip_list": [
            {
                "eip_identity": "eip-9kn9mx****",
                "eip_name": "eip_test01-****-**ct04",
                "eip_addr": "106.**.**.168",
                "status": "bound",
                "isp": "CTCC",
                "bps_limit": "20",
                "billing_method": "HourUsed",
                "bind_snat_rules": 1,
                "bind_dnat_rules": 0,
                "eip_type": "IPv4"
            }
        ],
        "total_count": 1
    }
}

错误码

如果响应正文中包含 Error 字段,则表示 API 请求失败。关于错误码的更多信息,参见错误码