检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 根据IP和port批量删除后端服务器
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
查询转发规则详情 GET https://{Endpoint}/v2/a31d2bdcf7604c0faaddb058e1e08819/elb/l7policies/5ae0e1e7-5f0f-47a1-b39f-5d4c428a1586/rules/67d8a8fa-b0dd-4bd4-a85b-671db19b2ef3
https://{Endpoint}/v2/145483a5107745e9b3d80f956713e6a3/elb/loadbalancers/90f7c765-0bc9-47c4-8513-4cc0c264c8f8 响应示例 响应样例 无 返回码 请参见状态码。 父主题: 负载均衡器
https://{Endpoint}/v2/1a3e005cf9ce40308c900bcb08e5320c/elb/loadbalancers 请求样例2 GET https://{Endpoint}/v2/1a3e005cf9ce40308c900bcb08e5320c/elb/loadbalancers
"a31d2bdcf7604c0faaddb058e1e08819", "project_id": "a31d2bdcf7604c0faaddb058e1e08819", "listener_id": "e1310063-00de-4867-ab55-ccac4d9db364"
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
"eabfefa3fd1740a88a47ad98e132d238", "listener_id": "eabfefa3fd1740a88a47ad98e132d238", "tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"eabfefa3fd1740a88a47ad98e132d238", "listener_id": "eabfefa3fd1740a88a47ad98e132d238", "tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2
请求样例1 全量查询后端云服务器 GET https://{Endpoint}/v2/1a3e005cf9ce40308c900bcb08e5320c/elb/pools/5a9a3e9e-d1aa-448e-af37-a70171f2a332/members 请求样例2 过滤查询ip为10
"eabfefa3fd1740a88a47ad98e132d238", "listener_id": "eabfefa3fd1740a88a47ad98e132d238", "tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
取值范围: 单值:单个返回码。当type为GRPC时,取值范围为0-99;当type为其他协议时,取值范围为200-599。例如:"0"或"200"。 列表:多个特定返回码,逗号分隔,最多支持5个返回码。例如:"200,202"或"0,1"。 区间:一个返回码区间,区间内"-"分隔,
true, "tenant_id": "145483a5107745e9b3d80f956713e6a3", "project_id": "145483a5107745e9b3d80f956713e6a3", "domain_name": null, "delay":
"eabfefa3fd1740a88a47ad98e132d238", "listener_id": "eabfefa3fd1740a88a47ad98e132d238", "tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
2/1867112d054b427e808cc6096d8193a1/elb/pools 请求样例2 过滤查询负载均衡算法为SOURCE_IP的后端云服务器组 GET https://{Endpoint}/v2/1867112d054b427e808cc6096d8193a1/elb/pools
true, "tenant_id": "145483a5107745e9b3d80f956713e6a3", "project_id": "145483a5107745e9b3d80f956713e6a3", "domain_name": null, "delay":
87 listener_20679192-8888-4e62-a814-a2f870f62148 3333fd44fe3b42cbaa1dc2c641994d90 pool_89547549-6666-446e-9dbc-e3a551034c46 "-" f2bc165ad9b4
响应参数 无 请求示例 请求样例 POST https://{Endpoint}/v2.0/6a0de1c3-7d74-4f4a-b75e-e57135bd2b97/listeners/7add33ad-11dc-4ab9-a50f-419703f13163/tags {
ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 1 2