付録B 列挙値の変換

B.1. 列挙値の変換

API は、Red Hat Enterprise Virtualization クエリー言語を使用して検索クエリーを実行します。クエリー言語の詳細については、『Red Hat Enterprise Virtualization 管理ガイド』 の「Red Hat Enterprise Virtualization での検索」のセクションに記載された完全な仕様を参照してください。
クエリー言語の使用時に、API の特定の列挙値には、異なる検索クエリーが必要なことに注意してください。以下の表には、これらの主要な列挙値の変換をまとめています。

表B.1 列挙値の変換

リソースタイプ
API 列挙タイプ
API 列挙値
クエリー言語プロパティー
クエリー言語値
データセンター
data_center_statesnot_operationalstatusnotoperational
ホスト
host_statesnon_responsivestatusnonresponsive
install_failedinstallfailed
preparing_for_maintenancepreparingformaintenance
non_operationalnonoperational
pending_approvalpendingapproval
仮想マシン
vm_statespowering_upstatuspoweringup
powering_downpoweringdown
migratingmigratingfrom
migratingmigratingto
not_respondingnotresponding
wait_for_launchwaitforlaunch
reboot_in_progressrebootinprogress
saving_statesavingstate
restoring_staterestoringstate
image_lockedimagelocked