获取EIP目的地址转换列表
GET https://management.sensecoreapi.cn/network/eip/data/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}/dnatRules
请求头(Request Header)
请求参数(Request Parameters)
| 名称 | 类型 | 必须 | 默认值 | 取值范围 | 描述 |
|---|---|---|---|---|---|
| subscription_name | string | 是 | - | - | 订阅 |
| resource_group_name | string | 是 | - | - | 资源组 |
| zone | string | 是 | - | - | 可用区 |
| eip_name | string | 是 | - | - | eip名 |
请求体(Request Body)
无
请求示例(Request Example)
curl --request GET 'https://management.sensecoreapi.cn/network/eip/data/v1/subscriptions/f5e41c2b-9859-4c10-8b0a-78c02bf2a748/resourceGroups/default/zones/cn-sh-01a/eips/eip-test-d4ee9e0e/dnatRules' \
-H 'content-type: application/json' \
-H 'Authorization: xxx'
响应(Response)
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | dnat规则id标识 |
| name | string | dnat规则名 |
| display_name | string | dnat规则前端展示名 |
| description | string | dnat规则说明 |
| uid | string | dnat规则uuid |
| resource_type | string | dnat规则资源类型 |
| creator_id | string | 创建该dnat规则的用户id |
| owner_id | string | 拥有该dnat规则资源的用户id |
| tenant_id | string | 租户id |
| zone | string | 可用区 |
| state | enum | 当前dnat规则的状态 |
| sku_id | string | 文件创建者最小库存单元id标识 |
| tags | map<string, string> | dnat规则资源标签 |
| properties | ACLProperties | dnat规则资源属性 |
| nat_gateway_id | string | NAT网关id |
| eip_id | string | EIP资源id |
| external_ip | string | 对外暴露的 DNATRule external IP |
| external_port | string | 对外暴露的 DNATRule external Port |
| protocol | string | 对外暴露的协议,目前保留 |
| internal_ip | string | 对外暴露的VPC内服务IP |
| internal_port | string | 对外暴露的VPC内服务端口 |
| priority | int32 | ACL规则优先级,目前保留 |
| internal_instance_type | string | VPC内实例类型 |
| internal_instance_name | string | VPC内实例名 |
| order_info | struct OrderInfo | ACL订单信息 |
| deleted | bool | ACL是否已删除 |
| create_time | timestamp | ACL创建时间 |
| update_time | timestamp | ACL更新时间 |
| netx_page_token | string | 下一页的token信息 |
| total_size | int32 | ACL总数 |
响应示例(Response Example)
{
"dnat_rules": [
{
"id": "/resourceGroups/default/zones/cn-sh-01a/eips/eip-test-d4ee9e0e/dnatRules/dnat-test-ef484991",
"name": "dnat-test-ef484991",
"display_name": "dnat-test-ef484991",
"description": "",
"uid": "ef484991-c27a-48d8-91a9-c874b91df76c",
"resource_type": "network.eip.v1.dnatRule",
"creator_id": "ab870bba-c30c-4905-a372-c915a673b892",
"owner_id": "ab870bba-c30c-4905-a372-c915a673b892",
"tenant_id": "39c9bb8b-9f40-45c1-bd7f-e978b0b97175",
"zone": "cn-sh-01a",
"state": "ACTIVE",
"sku_id": "",
"tags": {},
"properties": {
"nat_gateway_id": "b0e11b51-62f0-4e8d-ad09-ba2e6138ed6f",
"eip_id": "01997037-4e28-7adc-abc5-8a22788797f9",
"external_ip": "10.10.10.27",
"external_port": "1113",
"protocol": "udp",
"internal_ip": "10.119.16.1",
"internal_port": "23",
"priority": 1,
"internal_instance_type": "IP",
"internal_instance_name": "10.119.16.1"
},
"order_info": null,
"deleted": false,
"create_time": "2025-09-22T08:25:03Z",
"update_time": "2025-09-22T08:25:03Z"
}
],
"next_page_token": "0",
"total_size": 6
}