2.5. 検索条件
クエリーのコロンの後に、検索条件を指定することができます。{criteria} の構文は以下のとおりです。
<prop><operator><value>
または
<obj-type><prop><operator><value>
例
以下の表には、構文の各要素についての説明をまとめています。
表2.3 検索条件の例
| 要素 | 説明 | 値 | 例 | 注記 |
|---|---|---|---|---|
|
prop |
検索対象となるリソースのプロパティー。リソースタイプのプロパティー ( |
検索条件に特定のプロパティーを設定 (status プロパティーに関する検索) |
Status |
N/A |
|
obj-type |
検索対象となるリソースに関連付けできるリソースタイプ |
データセンターや仮想マシンなどのシステムオブジェクト |
Users |
N/A |
|
operator |
比較演算子 |
= != (等しくない) > < >= <= |
N/A |
プロパティーによって、値のオプションが異なる |
|
value |
式の比較対象 |
文字列 整数 ランキング 日付 (地域設定に応じた形式) |
Jones 256 normal |
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.