{"base_path":"/","components":null,"consumes":"","definitions":{"EipInfo":{"description":"**参数解释:**\n负载均衡器绑定的EIP信息\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","properties":{"eip_address":{"description":"**参数解释:**\n弹性IP的IP地址\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":36,"minLength":0,"type":"string"},"eip_id":{"description":"**参数解释:**\n弹性IP的ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":255,"minLength":0,"type":"string"},"ip_version":{"description":"**参数解释:**\nIP版本号\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maximum":4,"minimum":3,"type":"integer"}}},"IAM5ErrorDetails":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此信息0。","properties":{"error_code":{"description":"下游服务错误码","type":"string"},"error_msg":{"description":"下游服务报错信息","type":"string"}}},"ListProtectableResourcesResponseBody":{"description":"**参数解释:**\n可防护的资源列表\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","example":{"items":[{"eips":[{"eip_address":"215.252.12.161","eip_id":"1a30a8ab-a784-4cff-9a33-f2b8f08147ee","ip_version":4}],"listeners":[],"loadbalancer_id":"f852d5f8-3389-44cc-a149-638218a2db3e","loadbalancer_name":"elb-b4d6"},{"eips":[{"eip_address":"100.95.157.22","eip_id":"3c970c9d-04b6-4e85-befd-63a66f846ca7","ip_version":4}],"listeners":[{"id":"63d7cafc-d038-4e53-9ad3-7ad5b7913a16","name":"listener_HTTPS_550","protocol":"HTTPS","protocol_port":550},{"id":"a1dbe63c-4893-4242-9b0e-b01a4e83df37","name":443,"protocol":"HTTPS","protocol_port":443},{"id":"f32f50fb-5814-43ba-810f-226dd16c9dc7","name":80,"protocol":"HTTP","protocol_port":80}],"loadbalancer_id":"fc9ec130-17b8-41aa-9b2e-68ef3fd37d7f","loadbalancer_name":"elb-49e8"}],"total":1},"properties":{"items":{"description":"**参数解释:**\n详细的可防护资源的信息\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"$ref":"#/definitions/ProtectableResources"},"maxItems":2000,"minItems":0,"type":"array"},"total":{"description":"**参数解释:**\n全部可防护资源的数量\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maximum":2000,"minimum":0,"type":"integer"}}},"Listener":{"description":"**参数解释:**\n监听器列表\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","properties":{"id":{"description":"**参数解释:**\n监听器的ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":36,"minLength":0,"type":"string"},"name":{"description":"**参数解释:**\n监听器的名称\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":255,"minLength":0,"type":"string"},"protocol":{"description":"**参数解释:**\n监听器的监听协议\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":16,"minLength":3,"type":"string"},"protocol_port":{"description":"**参数解释:**\n监听器的监听端口\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maximum":65535,"minimum":1,"type":"integer"}}},"ProtectableResources":{"properties":{"domain_id":{"description":"**参数解释:**\n负载均衡器所属的账号ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":32,"minLength":32,"type":"string"},"eips":{"description":"**参数解释:**\n负载均衡器绑定的EIP\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"$ref":"#/definitions/EipInfo"},"maxItems":1,"minItems":0,"type":"array"},"listeners":{"description":"**参数解释:**\n当前ELB所关联的监听器列表\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"$ref":"#/definitions/Listener"},"maxItems":4,"minItems":0,"type":"array"},"loadbalancer_id":{"description":"**参数解释:**\n负载均衡器ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":36,"minLength":0,"type":"string"},"loadbalancer_name":{"description":"**参数解释:**\n负载均衡器名称\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":255,"minLength":0,"type":"string"},"project_id":{"description":"**参数解释:**\n负载均衡器所在的项目ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","maxLength":32,"minLength":32,"type":"string"}}},"RestErrorResponse":{"properties":{"details":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此字段。","items":{"$ref":"#/definitions/IAM5ErrorDetails"},"type":"array"},"encoded_authorization_message":{"description":"编码 (加密) 后的详细拒绝原因,用户可以自行调用 STS 服务的decode-authorization-message接口进行解码,可参考STS5联调自验证。IAM5鉴权错误时才会返回此字段。","type":"string"},"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误信息","type":"string"}},"title":"RestErrorResponse","type":"object"}},"description":null,"group_id":"29975c0bd7ce463ca70ad5c074e3974b","host":"waf.cn-north-4.myhuaweicloud.com","id":"0a4c5c910dd84e578d2ccc6353ab332f","info_version":"v1","method":"get","name":"ListProtectableResources","parameters":{},"paths":{"/v1/{project_id}/premium-waf/host/protectable-resources/{resource_type}":{"get":{"description":"查询可防护的资源列表","operationId":"ListProtectableResources","parameters":[{"description":"**参数解释:**\n项目ID,对应控制台用户名->我的凭证->项目列表->项目ID。\n**约束限制:**\n不涉及\n**取值范围:**\n只能由英文字母、数字组成,且长度为32个字符。\n**默认取值:**\n不涉及","in":"path","maxLength":32,"minLength":32,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释:**\n负载均衡器所在VPC ID\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","maxLength":36,"minLength":36,"name":"vpc_id","required":false,"type":"string"},{"description":"**参数解释:**\n用户Token,通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"header","maxLength":32768,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},{"description":"**参数解释:**\n租户的regionId\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"header","maxLength":128,"minLength":1,"name":"region","required":false,"type":"string"},{"default":"application/json;charset=utf8","description":"**参数解释:**\n内容类型\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\napplication/json;charset=utf8","in":"header","maxLength":1000,"minLength":0,"name":"Content-Type","required":true,"type":"string"},{"description":"**参数解释:**\n查询的防护资源类型,目前支持的资源类型为:elb\n**约束限制:**\n不涉及\n**取值范围:**\n- elb\n\n**默认取值:**\nelb","in":"path","name":"resource_type","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"items":[{"eips":[{"eip_address":"215.252.12.161","eip_id":"1a30a8ab-a784-4cff-9a33-f2b8f08147ee","ip_version":4}],"listeners":[],"loadbalancer_id":"f852d5f8-3389-44cc-a149-638218a2db3e","loadbalancer_name":"elb-b4d6"},{"eips":[{"eip_address":"100.95.157.22","eip_id":"3c970c9d-04b6-4e85-befd-63a66f846ca7","ip_version":4}],"listeners":[{"id":"63d7cafc-d038-4e53-9ad3-7ad5b7913a16","name":"listener_HTTPS_550","protocol":"HTTPS","protocol_port":550},{"id":"a1dbe63c-4893-4242-9b0e-b01a4e83df37","name":443,"protocol":"HTTPS","protocol_port":443},{"id":"f32f50fb-5814-43ba-810f-226dd16c9dc7","name":80,"protocol":"HTTP","protocol_port":80}],"loadbalancer_id":"fc9ec130-17b8-41aa-9b2e-68ef3fd37d7f","loadbalancer_name":"elb-49e8"}],"total":1}},"schema":{"$ref":"#/definitions/ListProtectableResourcesResponseBody"}},"400":{"description":"非法请求","schema":{"$ref":"#/definitions/RestErrorResponse"}},"401":{"description":"Token无权限","schema":{"$ref":"#/definitions/RestErrorResponse"}},"500":{"description":"服务器内部错误","schema":{"$ref":"#/definitions/RestErrorResponse"}}},"summary":"查询可防护的资源列表","tags":["可防护的资源管理"],"x-api-type":"open-api","x-is-registered":"Y","x-support-international":false,"x-support-sdk":"Y"}}},"product_short":"WAF","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询可防护的资源列表","tags":"可防护的资源管理","uri":null,"version":"2.0"}