Este contenido no está disponible en el idioma seleccionado.
2.7. Example: Listing the ISO Files in an ISO Storage Domain
The
API
class provides access to a storage domain collection, named storagedomains
. This collection in turn contains a files
collection that describes the files in a storage domain.
Example 2.6. Listing the ISO Files in an ISO Storage Domain
This Python example prints a list of the ISO files in each ISO storage domain in the Red Hat Enterprise Virtualization environment: