elb__ListHealthmonitors
Lists Elastic Load Balancer health monitors in a Huawei Cloud project, with filters for ID, name, type, and pagination to inspect health-check settings.
Instructions
[ELB] 查询健康检查列表
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "elb__ListHealthmonitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 健康检查ID。 | |
| name | No | 健康检查名称。 | |
| type | No | 健康检查的类型。取值范围:TCP、UDP_CONNECT、HTTP。 | |
| delay | No | 健康检查间隔,单位秒,取值范围[1,50]。 | |
| limit | No | 分页查询中每页的健康检查个数 | |
| marker | No | 分页查询的起始的资源id,表示上一页最后一条查询记录的健康检查的id。不指定时表示查询第一页。 | |
| timeout | No | 健康检查超时时间,单位秒,取值范围[1,50]。 | |
| url_path | No | 健康检查时发送的http请求路径。默认为“/”。以“/”开头。仅当type为HTTP时生效。例如:“/test” | |
| project_id | Yes | 项目id | |
| domain_name | No | 健康检查时,发送的http请求的域名。仅当type为HTTP时生效。默认为空,表示使用负载均衡器的vip_address作为http请求的目的地址。以数字或字母开头,只能包含数字、字母、’-’、’.’。例如:www.huaweitest.com | |
| http_method | No | HTTP请求的方法;默认值:GET取值范围:GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH。仅当type为HTTP时生效。 | |
| max_retries | No | 健康检查最大重试次数,取值范围[1,10]。 | |
| monitor_port | No | 健康检查端口号]。默认为空,表示使用后端云服务器的protocol_port作为健康检查的检查端口。 | |
| page_reverse | No | 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。 | |
| admin_state_up | No | 健康检查的管理状态。取值范围:true/false。默认为true;true表示开启健康检查;false表示关闭健康检查。 | |
| expected_codes | No | 期望HTTP响应状态码;默认值:“200”。取值范围:单值,例如200;列表,例如200,202;区间,例如200-204。仅当type为HTTP时生效。 |