vinfra service compute flavor list
List compute flavors:
usage: vinfra service compute flavor list [--long] [--placement <placement>]
--long
- Enable access and listing of all fields of objects.
--placement <placement>
-
List flavors added to a placement with the specified ID or use a filter. Supported filter operator:
any
. The filter format is<operator>:<value1>[,<value2>,…]
.
Example:
# vinfra service compute flavor list +--------------------------------------+----------+-------+------+-------+ | id | name | ram | swap | vcpus | +--------------------------------------+----------+-------+------+-------+ | 100 | tiny | 512 | 0 | 1 | | 101 | small | 2048 | 0 | 1 | | 102 | medium | 4096 | 0 | 2 | | 103 | large | 8192 | 0 | 4 | | 104 | xlarge | 16384 | 0 | 8 | | 561a48ea-0c1c-4152-8b7d-e4b4af276c2d | myflavor | 3072 | 0 | 1 | +--------------------------------------+----------+-------+------+-------+
This command lists all flavors.