apig__ListCustomIngressPorts
Lists custom ingress ports for a Huawei Cloud API Gateway instance, optionally filtered by protocol or port number and paginated.
Instructions
[APIG] 查询实例的自定义入方向端口列表。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__ListCustomIngressPorts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 | |
| offset | No | 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 | |
| protocol | No | 入方向端口的请求协议。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 | |
| ingress_port | No | 入方向端口的端口号,支持的端口范围为1024~49151。 |