付録B 列挙値の変換
B.1. 列挙値の変換
API は、Red Hat Enterprise Virtualization クエリー言語を使用して検索クエリーを実行します。クエリー言語の詳細については、『Red Hat Enterprise Virtualization 管理ガイド』 の「Red Hat Enterprise Virtualization での検索」のセクションに記載された完全な仕様を参照してください。
クエリー言語の使用時に、API の特定の列挙値には、異なる検索クエリーが必要なことに注意してください。以下の表には、これらの主要な列挙値の変換をまとめています。
表B.1 列挙値の変換
リソースタイプ
|
API 列挙タイプ
|
API 列挙値
|
クエリー言語プロパティー
|
クエリー言語値
|
---|---|---|---|---|
データセンター
| data_center_states | not_operational | status | notoperational |
ホスト
| host_states | non_responsive | status | nonresponsive |
install_failed | installfailed | |||
preparing_for_maintenance | preparingformaintenance | |||
non_operational | nonoperational | |||
pending_approval | pendingapproval | |||
仮想マシン
| vm_states | powering_up | status | poweringup |
powering_down | poweringdown | |||
migrating | migratingfrom | |||
migrating | migratingto | |||
not_responding | notresponding | |||
wait_for_launch | waitforlaunch | |||
reboot_in_progress | rebootinprogress | |||
saving_state | savingstate | |||
restoring_state | restoringstate | |||
image_locked | imagelocked |