kafka__ListInstances
Lists Kafka instances for a tenant and supports filtering by name, status, instance ID, project, and enterprise project to locate matching resources.
Instructions
[KAFKA] 查询租户的实例列表,支持按照条件查询。
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": {
"engine": "<engine>",
"project_id": "<project_id>"
},
"name": "kafka__ListInstances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 实例名称。 | |
| limit | No | 当次查询返回的最大实例个数,默认值为10,取值范围为1~50。 | |
| engine | Yes | 消息引擎:kafka。 | kafka |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0。 | |
| status | No | 实例状态。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。 | |
| instance_id | No | 实例ID。 | |
| include_failure | No | 是否返回创建失败的实例数。 | |
| exact_match_name | No | 是否按照实例名称进行精确匹配查询。 | |
| enterprise_project_id | No | 企业项目ID。 |