Show Table of Contents
2.3. エンティティーの一覧表示
以下の例では、Red Hat Virtualization Manager のエンティティーを一覧表示する方法を説明します。この例では、一覧表示するエンティティーは仮想マシンで、
Api クラスの getVMs() メソッドを使用して一覧表示します。
手順2.1 エンティティーの一覧表示
- 一覧表示するエンティティーのタイプの
Listを宣言し、対応するメソッドを使用してエンティティーを一覧表示します。List<VM> vms = api.getVMs().list();

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.