Chapter 63. recordset

This chapter describes the commands under the recordset command.

63.1. recordset create

Create new recordset

Usage:

openstack recordset create [-h] [-f {json,shell,table,value,yaml}]
                                  [-c COLUMN] [--noindent] [--prefix PREFIX]
                                  [--max-width <integer>] [--fit-width]
                                  [--print-empty] --record RECORD --type TYPE
                                  [--ttl TTL] [--description DESCRIPTION]
                                  [--all-projects]
                                  [--sudo-project-id SUDO_PROJECT_ID]
                                  zone_id name

Table 63.1. Positional arguments

ValueSummary

zone_id

Zone id

name

Recordset name

Table 63.2. Command arguments

ValueSummary

-h, --help

Show this help message and exit

--record RECORD

Recordset record, repeat if necessary

--type TYPE

Recordset type

--ttl TTL

Time to live (seconds)

--description DESCRIPTION

Description

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.3. Output formatter options

ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Table 63.4. JSON formatter options

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.5. Shell formatter options

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.6. Table formatter options

ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

63.2. recordset delete

Delete recordset

Usage:

openstack recordset delete [-h] [-f {json,shell,table,value,yaml}]
                                  [-c COLUMN] [--noindent] [--prefix PREFIX]
                                  [--max-width <integer>] [--fit-width]
                                  [--print-empty] [--all-projects]
                                  [--sudo-project-id SUDO_PROJECT_ID]
                                  [--edit-managed]
                                  zone_id id

Table 63.7. Positional arguments

ValueSummary

zone_id

Zone id

id

Recordset id

Table 63.8. Command arguments

ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

--edit-managed

Edit resources marked as managed. default: false

Table 63.9. Output formatter options

ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Table 63.10. JSON formatter options

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.11. Shell formatter options

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.12. Table formatter options

ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

63.3. recordset list

List recordsets

Usage:

openstack recordset list [-h] [-f {csv,json,table,value,yaml}]
                                [-c COLUMN]
                                [--quote {all,minimal,none,nonnumeric}]
                                [--noindent] [--max-width <integer>]
                                [--fit-width] [--print-empty]
                                [--sort-column SORT_COLUMN]
                                [--sort-ascending | --sort-descending]
                                [--name NAME] [--type TYPE] [--data DATA]
                                [--ttl TTL] [--description DESCRIPTION]
                                [--status STATUS] [--action ACTION]
                                [--all-projects]
                                [--sudo-project-id SUDO_PROJECT_ID]
                                zone_id

Table 63.13. Positional arguments

ValueSummary

zone_id

Zone id. to list all recordsets specify all

Table 63.14. Command arguments

ValueSummary

-h, --help

Show this help message and exit

--name NAME

Recordset name

--type TYPE

Recordset type

--data DATA

Recordset record data

--ttl TTL

Time to live (seconds)

--description DESCRIPTION

Description

--status STATUS

Recordset status

--action ACTION

Recordset action

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.15. Output formatter options

ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

--sort-column SORT_COLUMN

Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

Sort the column(s) in ascending order

--sort-descending

Sort the column(s) in descending order

Table 63.16. CSV formatter options

ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Table 63.17. JSON formatter options

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.18. Table formatter options

ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

63.4. recordset set

Set recordset properties

Usage:

openstack recordset set [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--noindent] [--prefix PREFIX]
                               [--max-width <integer>] [--fit-width]
                               [--print-empty] [--record RECORD]
                               [--description DESCRIPTION | --no-description]
                               [--ttl TTL | --no-ttl] [--all-projects]
                               [--sudo-project-id SUDO_PROJECT_ID]
                               [--edit-managed]
                               zone_id id

Table 63.19. Positional arguments

ValueSummary

zone_id

Zone id

id

Recordset id

Table 63.20. Command arguments

ValueSummary

-h, --help

Show this help message and exit

--record RECORD

Recordset record, repeat if necessary

--description DESCRIPTION

Description

--no-description—​ttl TTL

Ttl

--no-ttl—​all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

--edit-managed

Edit resources marked as managed. default: false

Table 63.21. Output formatter options

ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Table 63.22. JSON formatter options

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.23. Shell formatter options

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.24. Table formatter options

ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

63.5. recordset show

Show recordset details

Usage:

openstack recordset show [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--noindent] [--prefix PREFIX]
                                [--max-width <integer>] [--fit-width]
                                [--print-empty] [--all-projects]
                                [--sudo-project-id SUDO_PROJECT_ID]
                                zone_id id

Table 63.25. Positional arguments

ValueSummary

zone_id

Zone id

id

Recordset id

Table 63.26. Command arguments

ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.27. Output formatter options

ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated to show multiple columns

Table 63.28. JSON formatter options

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.29. Shell formatter options

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.30. Table formatter options

ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.