vinfra service compute image list
List compute images:
usage: vinfra service compute image list [--long] [--limit <num>] [--marker <image>] [--name <name>] [--id <id>] [--status <status>] [--placement <placement>] [--disk-format <disk-format>]
--long
- Enable access and listing of all fields of objects.
--limit <num>
- The maximum number of images to list. To list all images, set the option to -1.
--marker <image>
- List images after the marker.
--name <name>
- List images with the specified name or use a filter. Supported filter operator:
contains
. The filter format is<operator>:<value1>[,<value2>,…]
. --id <id>
- Show an image with the specified ID or list images using a filter. Supported filter operator:
in
. The filter format is<operator>:<value1>[,<value2>,…]
. --status <status>
- List images with the specified status or use a filter. Supported filter operator:
in
. The filter format is<operator>:<value1>[,<value2>,…]
. --placement <placement>
- List images added to a placement with the specified ID or use a filter. Supported filter operator:
any
. The filter format is<operator>:<value1>[,<value2>,…]
. --disk-format <disk-format>
- List images with the specified disk format.
Example:
# vinfra service compute image list +---------------------+-------------+----------+--------+-------------+ | id | name | size | status | disk_format | +---------------------+-------------+----------+--------+-------------+ | 179f45ef-c5d6-<...> | mycirrosimg | 12716032 | active | qcow2 | | 4741274f-5cca-<...> | cirros | 12716032 | active | qcow2 | +---------------------+-------------+----------+--------+-------------+
This command lists images available to the compute cluster.