查看EIP实例详情
GET https://management.sensecoreapi.cn/network/eip/data/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}/status
请求头(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-bosontest1-e209b82b/status' \
-H 'content-type: application/json' \
-H 'Authorization: xxx'
响应(Response)
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | EIP资源id标识 |
| name | string | EIP名 |
| display_name | string | EIP前端展示名 |
| description | string | EIP说明 |
| uid | string | EIP资源uuid |
| resource_type | string | EIP资源类型 |
| creator_id | string | 创建该EIP的用户id |
| owner_id | string | 拥有该EIP资源的用户id |
| tenant_id | string | 租户id |
| zone | string | 可用区 |
| state | enum | 当前EIP资源的状态 |
| sku_id | string | 文件创建者最小库存单元id标识 |
| tags | map<string, string> | EIP资源标签 |
| properties | EIPProperties | EIP资源属性 |
| vpc_id | string | VPC的uuid |
| association_id | string | 关联的设备或组件id, 例如vpc nat gateway id |
| association_type | enum | 关联的设备或组件类型,NATGW,POD,SLB,BM |
| resources | Resources | EIP资源规格属性 |
| billing_items | BillingItems | eip计费项 |
| bw | int32 | EIP 带宽限制,单位: M/s |
| limit_rate_items | LimitRateItems | eip限速项 |
| up_stream_bw | int32 | EIP 上行带宽限制,单位: M/s |
| down_stream_bw | int32 | EIP 下行带宽限制,单位: M/s |
| sku | string | EIP sku |
| default_snat | bool | EIP是否作为默认 vpc 流量出口 |
| acl_enabled | bool | 是否启用黑白名单 |
| acls | EIPACL | EIP黑白名单规则列表 |
| acl_name | string | ACL名称 |
| acl_properties | ACLProperties | ACL属性 |
| action | enum ACLAction | ACL动作类型: DENY(拒绝规则), ALLOW(允许规则) |
| src | string | ACL源地址 |
| dest | string | ACL目的地址 |
| dest_port | string | ACL目的端口,目前保留 |
| protocol | string | 对外暴露的协议,目前保留 |
| priority | int32 | ACL规则优先级,目前保留 |
| acl_state | string | ACL状态 |
| internal_eip | bool | 是否为企业网EIP |
| snat_dst_cidr_enabled | bool | 是否启用基于目的网段的snat规则 |
| order_info | struct OrderInfo | ACL订单信息 |
| deleted | bool | ACL是否已删除 |
| create_time | timestamp | ACL创建时间 |
| update_time | timestamp | ACL更新时间 |
| eip_ip | string | eip ip 地址 |
| vpc_info | struct | eip关联的vpc信息 |
| name | string | vpc名称 |
| display_name | string | vpc前端展示名 |
| id | string | vpc uuid |
| snat_count | int | snat规则数量 |
| dnat_count | int | dnat规则数量 |
| snat_info | struct | snat详情 |
| name | string | snat 名称 |
| inner_ip | string | 内网ip |
| outer_ip | string | 外网ip |
| policy | string | 策略 |
| policy_value | string | 策略值 |
响应示例(Response Example)
{
"eip_info": {
"id": "/subscriptions/f5e41c2b-9859-4c10-8b0a-78c02bf2a748/resourceGroups/default/zones/cn-sh-01a/eips/eip-bosontest1-e209b82b",
"name": "eip-bosontest1-e209b82b",
"display_name": "abc",
"description": "",
"uid": "019b2b95-f8a6-779d-bbb7-3ec9733edcb8",
"resource_type": "network.eip.v1.eip",
"creator_id": "79663873-078a-4961-922a-744b3308e042",
"owner_id": "79663873-078a-4961-922a-744b3308e042",
"tenant_id": "f5e41c2b-9859-4c10-8b0a-78c02bf2a748",
"zone": "cn-sh-01a",
"state": "ACTIVE",
"sku_id": "",
"tags": {},
"properties": {
"vpc_id": "882633d2-4abf-11ed-b715-3ac52497f8ff",
"association_id": "16057f37-b99e-4b18-ac37-fbb6166887e1",
"association_type": "NATGW_AND_BM",
"resources": {
"billing_items": {
"bw": 2
},
"limit_rate_items": {
"up_stream_bw": 2,
"down_stream_bw": 2
}
},
"sku": "DATA",
"default_snat": true,
"acl_enabled": true,
"acls": [
{
"acl_name": "acl-bosontest1-e209b82b",
"acl_properties": {
"action": "ALLOW",
"src": "111.111.111.112",
"dest": "10.111.38.70",
"dest_port": "",
"protocol": "",
"priority": 0
},
"acl_state": "ACTIVE"
}
],
"internal_eip": false,
"snat_dst_cidr_enabled": false
},
"order_info": null,
"deleted": false,
"create_time": "2025-12-17T09:13:35Z",
"update_time": "2025-12-17T09:13:35Z"
},
"eip_ip": "12.3.3.8",
"vpc_info": {
"name": "vpc-bosontest1-f5e41c2b",
"display_name": "01a-tech-update-1125-new",
"id": "882633d2-4abf-11ed-b715-3ac52497f8ff"
},
"snat_count": 1,
"dnat_count": 1,
"snat_info": [
{
"name": "snat-bosontest1-019b2b95",
"inner_ip": "0.0.0.0/0",
"outer_ip": "12.3.3.8",
"policy": "dst",
"policy_value": ""
}
]
}