Huawei Cloud Bms List

List Huawei Cloud BMS (Bare Metal Server) instances in a tenant region through KooCLI (hcloud BMS ListBareMetalServers — read-only GET /v1/{project_id}/baremetalservers/detail), with an automatic fallback to the official huaweicloudsdkbms v1 SDK when hcloud is not installed. 2. Three output modes: full-field table (default, every returned field including 名称/ID/状态/规格/可用区/IP), --json (raw response array), and --names-only (compact server-name list). 3. Supports --name / --server-id / --status filtering, region override, and automatic page-number offset paging. --name / --status are real ListBareMetalServers query parameters; --server-id is applied client-side (full list fetched first, then filtered locally) because the real BMS ListBareMetalServers API has no server-id parameter. 4. Explicit error hints for empty server lists (「当前区域无裸金属服务器」), 403 / insufficient IAM permission (「无权限访问 BMS,请检查 IAM 权限」), missing or invalid AK/SK credentials, and hcloud not installed. 5. Built-in write-intent guard: any mutating intent (create / delete / update / reboot / rebuild / resize / reinstall / reset / attach / detach / change) or any operation other than ListBareMetalServers is rejected before execution — this skill is strictly read-only. 6. Triggers include: "list BMS servers", "bare metal server list", "裸金属服务器列表", "查询裸金属服务器", "BMS 实例列表", "裸金属服务器巡检", "BMS inventory", "list bare metal servers", "华为云裸金属列表". 7. Offline unit tests (mocked hcloud subprocess) cover output modes, filters, paging, error scenarios, SDK fallback, and the write-intent guard.

Install

openclaw skills install @wlc-dev/huawei-cloud-bms-list