查看EIP实例详情
GET https://management.sensecoreapi.cn/network/eip/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}
请求头(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' \
-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规则优先级,目前保留 |
响应示例(Response Example)
{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"uid": "string",
"resource_type": "string",
"creator_id": "string",
"owner_id": "string",
"tenant_id": "string",
"zone": "string",
"state": "CREATING",
"sku_id": "string",
"tags": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"properties": {
"vpc_id": "string",
"association_id": "string",
"association_type": "NATGW",
"resources": {
"billing_items": {
"bw": 0
},
"limit_rate_items": {
"up_stream_bw": 0,
"down_stream_bw": 0
}
},
"sku": "string",
"default_snat": true,
"acl_enabled": true,
"acls": [
{
"acl_name": "string",
"acl_properties": {
"action": "DENY",
"src": "string",
"dest": "string",
"dest_port": "string",
"protocol": "string",
"priority": 0
},
"acl_state": "string"
}
]
},
"order_info": {
"billing_cycle_number": 0,
"auto_renew": true,
"currency_code": "string",
"payment_channel": "PC_UNSPECIFIED",
"note": "string",
"order_type": "OT_UNSPECIFIED",
"order_id": "string",
"start_time": "2023-11-23T07:23:19.180Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2023-11-23T07:23:19.180Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2023-11-23T07:23:19.180Z",
"update_time": "2023-11-23T07:23:19.180Z"
}