Skip to content

waldur-cli openstack tenant list

List openstack tenants.

Usage

1
waldur-cli openstack tenant list [OPTIONS]
Flag Type Description
--filter KEY=VALUE repeatable Server-side filter. Valid keys: backend_id (string), can_manage (boolean), customer (string), customer_abbreviation (string), customer_name (string), customer_native_name (string), customer_uuid (string), description (string), external_ip (string), name (string), name_exact (string), project (string), project_name (string), project_uuid (string), service_settings_name (string), service_settings_uuid (string), state (string).
--fields FIELDS string Fetch only these fields from the server (comma-separated). Valid: availability_zone, backend_id, created, customer, customer_abbreviation, customer_name, customer_native_name, customer_uuid, default_volume_type_name, description, error_message, error_traceback, external_network_id, external_network_ref_name, external_network_ref_uuid, internal_network_id, is_limit_based, is_usage_based, marketplace_category_name, marketplace_category_uuid, marketplace_offering_name, marketplace_offering_plugin_options, marketplace_offering_type, marketplace_offering_uuid, marketplace_plan_uuid, marketplace_resource_state, marketplace_resource_uuid, modified, name, project, project_name, project_uuid, quotas, resource_type, security_groups, service_name, service_settings, service_settings_error_message, service_settings_state, service_settings_uuid, skip_creation_of_default_router, skip_creation_of_default_subnet, state, subnet_cidr, url, uuid.
--jmespath EXPR string Reshape the already-fetched result client-side (https://jmespath.org).
--limit N integer Stop after this many items.
--format FORMAT string table, json, tsv, toon, or ndjson.

Examples

1
waldur-cli openstack tenant list --filter state=OK --fields uuid,name --format json

Project just the columns you need, client-side:

1
waldur-cli openstack tenant list --jmespath '[].[uuid, name]'

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.