Skip to main content

otdfctl policy namespaces list

list - List attribute namespaces

Synopsis

otdfctl policy namespaces list [flags]

Description

For more general information, see the namespaces subcommand.

Sort Options

Use --sort <field> with optional --order <direction>. Either flag may be omitted.

DirectionDescriptionDefault
ascAscending orderNo
descDescending orderYes
FieldDescriptionDefault
nameNamespace nameNo
fqnNamespace FQNNo
created_atCreation timestampYes
updated_atLast update timestampNo

Omit direction and let the server choose the default direction:

otdfctl policy namespaces list --sort name

Omit field and let the server choose the default field:

otdfctl policy namespaces list --order asc

Example

otdfctl policy namespaces list

Sort namespaces by name ascending:

otdfctl policy namespaces list --sort name --order asc

Options

-s, --state <state>
Filter by state [active, inactive, any] (required: false)
-l, --limit <limit>
Limit retrieved count (required: false)
-o, --offset <offset>
Offset (page) quantity from start of the list (required: false)
--sort <sort>
Sort list results by field (required: false)
--order <order>
Sort order direction. Accepted values are asc and desc (required: false)

Aliases

ls, l