config__CountAllResources
Counts resources in a Huawei Cloud account and supports filtering by resource ID, name, tags, type, region, project, or enterprise project.
Instructions
[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>"
},
"name": "config__CountAllResources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 资源ID | |
| name | No | 资源名称 | |
| tags | No | 标签列表 | |
| type | No | 资源类型(provider.type) | |
| ep_id | No | 企业项目ID列表 | |
| domain_id | Yes | 帐号ID | |
| region_id | No | 区域ID列表 | |
| project_id | No | 项目ID |