workspace__ListDesktopsStatistics
Retrieves counts of ordinary desktops and desktop pools by allocation, login, or run status, or returns the total, for a specified Huawei Cloud project.
Instructions
[WORKSPACE] 统计租户下的普通桌面、桌面池状态,默认仅统计总数。
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>"
},
"name": "workspace__ListDesktopsStatistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID。 | |
| desktop_type | No | 桌面类型,为空时查所有桌面。 | |
| statistics_type | No | 统计类型,为空时仅统计桌面总数 |- - attach-state 按照分配状态统计 - login-state 按照登录状态统计 - run-state 按照运行状态统计。 |