vinfra domain project list
List all projects in a domain:
usage: vinfra domain project list [--long] --domain <domain>
[--limit <num>] [--marker <project>]
[--name <name>] [--id <id>]
[--tags <tag1>[,<tag2>,…]]
--long- Enable access and listing of all fields of objects.
--domain <domain>- Domain name or ID
--limit <num>- The maximum number of projects to list. To list all projects, set the option to -1.
--marker <project>- List projects after the marker.
--name <name>- List projects with the specified name or use a filter. Supported filter operator:
contains. The filter format is<operator>:<value1>[,<value2>,…]. --id <id>- Show a project with the specified ID or list projects using a filter. Supported filter operator:
in. The filter format is<operator>:<value1>[,<value2>,…]. --tags <tag>[,<tag>,…]- List projects with the specified tags (comma-separated) or use a filter. Supported filter operators:
any,not_any. The filter format is<operator>:<value1>[,<value2>,…].
Example:
# vinfra domain project list --domain mydomain +-----------+-----------+---------+------------------+-----------+ | id | name | enabled | description | domain_id | +-----------+-----------+---------+------------------+-----------+ | d1c4<...> | myproject | True | A custom project | 9f7e<...> | +-----------+-----------+---------+------------------+-----------+
This command lists projects in the domain mydomain.