cbr__ListProtectable
Queries protectable resources in Huawei Cloud CBR by project and object type, with filters for ID, name, status, server, and pagination to identify resources available for backup protection.
Instructions
[CBR] 查询可保护性资源列表
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>",
"protectable_type": "<protectable_type>"
},
"name": "cbr__ListProtectable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 根据资源id过滤 | |
| name | No | 按名称过滤 | |
| limit | No | 每页显示的条目数量,每页最多支持50条 | |
| marker | No | 上一次查询最后一条的ID | |
| offset | No | 偏移值 | |
| status | No | 资源的状态,如available,error 等 | |
| server_id | No | 根据该id过滤属于该服务器的所有磁盘,支持企业多项目的用户才能传入此参数 | |
| project_id | Yes | 项目ID | |
| protectable_type | Yes | 对象类型 |