附录 A. 枚举的值转换

API 使用 Red Hat Virtualization Query Language 执行搜索查询。如需更多信息,请参阅 管理门户简介中的 搜索

请注意,在使用查询语言时,API 中某些枚举值需要不同的搜索查询。下表根据资源类型提供这些键枚举值的翻译。

表 A.1. 枚举的值转换

API 枚举类型API 枚举值查询语言值

data_center_states

not_operational

无法正常工作

host_states

non_responsive

不响应

install_failed

installfailed

preparing_for_maintenance

preparingformaintenance

non_operational

未运行

pending_approval

pendingapproval

vm_states

powering_up

Poweringup

powering_down

poweringdown

迁移

migratingfrom

迁移

迁移至

not_responding

未激活

wait_for_launch

waitforlaunch

reboot_in_progress

rebootinprogress

saving_state

savestate

restoring_state

恢复状态