Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

Appendix A. Enumerated Value Translation

The API uses Red Hat Virtualization Query Language to perform search queries. For more information, see Searches in the Introduction to the Administration Portal.

Note that certain enumerated values in the API require a different search query when using the Query Language. The following tables provides a translation for these key enumerated values according to resource type.

Table A.1. Enumerated Value Translations

API Enumerable TypeAPI Enumerable ValueQuery Language Value

data_center_states

not_operational

notoperational

host_states

non_responsive

nonresponsive

install_failed

installfailed

preparing_for_maintenance

preparingformaintenance

non_operational

nonoperational

pending_approval

pendingapproval

vm_states

powering_up

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