获取EIP访问控制白名单列表
GET https://management.sensecoreapi.cn/network/eip/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}/acls
请求头(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-ebbbcacd/acls' \
-H 'content-type: application/json' \
-H 'Authorization: xxx'
响应(Response)
名称 | 类型 | 描述 |
---|---|---|
id | string | ACL资源id标识 |
name | string | ACL名 |
display_name | string | ACL前端展示名 |
description | string | ACL说明 |
uid | string | ACL资源uuid |
resource_type | string | ACL资源类型 |
creator_id | string | 创建该ACL的用户id |
owner_id | string | 拥有该ACL资源的用户id |
tenant_id | string | 租户id |
zone | string | 可用区 |
state | enum | 当前ACL资源的状态 |
sku_id | string | 文件创建者最小库存单元id标识 |
tags | map<string, string> | 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规则优先级,目前保留 |
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)
{
"acls": [
{
"id": "/resourceGroups/default/zones/cn-sh-01b/eips/eip-bosontest1-f0660113/acls/acl-bosontest1-a64f59be",
"name": "acl-bosontest1-a64f59be",
"display_name": "acl-bosontest1-a64f59be",
"description": "",
"uid": "a64f59be-0f65-40d7-86ec-0dbb3d4f0573",
"resource_type": "network.eip.v1.acl",
"creator_id": "79663873-078a-4961-922a-744b3308e042",
"owner_id": "79663873-078a-4961-922a-744b3308e042",
"tenant_id": "f5e41c2b-9859-4c10-8b0a-78c02bf2a748",
"zone": "cn-sh-01b",
"state": "ACTIVE",
"sku_id": "",
"tags": {},
"properties": {
"action": "ALLOW",
"src": "192.168.10.0/24",
"dest": "10.105.53.126",
"dest_port": "",
"protocol": "",
"priority": 0
},
"order_info": null,
"deleted": false,
"create_time": "2024-06-03T05:59:47Z",
"update_time": "2024-06-03T05:59:47Z"
}
],
"next_page_token": "0",
"total_size": 1
}