config__ListResources
Lists Huawei Cloud resources by provider and resource type for the current tenant, supporting tag, enterprise project, region, and pagination filters.
Instructions
[CONFIG] 返回当前租户下特定资源类型的资源,需要当前用户有rms:resources:list权限。比如查询云服务器,对应的Config资源类型是ecs.cloudservers,其中provider为ecs,type为cloudservers。 Config支持的服务和资源类型参见支持的服务和区域。
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": {
"domain_id": "<domain_id>",
"provider": "<provider>",
"type": "<type>"
},
"name": "config__ListResources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | 标签 | |
| type | Yes | 资源类型名称 | |
| ep_id | No | 企业项目ID | |
| limit | No | 最大的返回数量 | |
| marker | No | 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 | |
| provider | Yes | 云服务名称 | |
| domain_id | Yes | 帐号ID | |
| region_id | No | 区域ID |