获取EIP访问控制白名单列表 | 大装置帮助中心
跳到主要内容

获取EIP访问控制白名单列表

GET https://management.sensecoreapi.cn/network/eip/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}/acls

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

名称类型必须默认值取值范围描述
subscription_namestring--订阅
resource_group_namestring--资源组
zonestring--可用区
eip_namestring--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)

名称类型描述
idstringACL资源id标识
namestringACL名
display_namestringACL前端展示名
descriptionstringACL说明
uidstringACL资源uuid
resource_typestringACL资源类型
creator_idstring创建该ACL的用户id
owner_idstring拥有该ACL资源的用户id
tenant_idstring租户id
zonestring可用区
stateenum当前ACL资源的状态
sku_idstring文件创建者最小库存单元id标识
tagsmap<string, string>ACL资源标签
propertiesACLPropertiesACL资源属性
actionenum ACLActionACL动作类型: DENY(拒绝规则), ALLOW(允许规则)
srcstringACL源地址
deststringACL目的地址
dest_portstringACL目的端口,目前保留
protocolstring对外暴露的协议,目前保留
priorityint32ACL规则优先级,目前保留
order_infostruct OrderInfoACL订单信息
deletedboolACL是否已删除
create_timetimestampACL创建时间
update_timetimestampACL更新时间
netx_page_tokenstring下一页的token信息
total_sizeint32ACL总数

响应示例(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
}