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] [--edit-managed]
                                  [--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. Optional 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

--edit-managed

Edit resources marked as managed. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.3. Output Formatters

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

Table 63.4. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.5. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.6. Table Formatter

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]
                                  [--edit-managed]
                                  [--sudo-project-id SUDO_PROJECT_ID]
                                  zone_id id

Table 63.7. Positional Arguments

ValueSummary

zone_id

Zone id

id

Recordset id

Table 63.8. Optional Arguments

ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--edit-managed

Edit resources marked as managed. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.9. Output Formatters

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

Table 63.10. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.11. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.12. Table Formatter

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] [--name NAME]
                                [--type TYPE] [--data DATA] [--ttl TTL]
                                [--description DESCRIPTION] [--status STATUS]
                                [--action ACTION] [--all-projects]
                                [--edit-managed]
                                [--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. Optional 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

--edit-managed

Edit resources marked as managed. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.15. Output Formatters

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

--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

Table 63.16. CSV Formatter

ValueSummary

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

When to include quotes, defaults to nonnumeric

Table 63.17. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.18. Table Formatter

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]
                               [--edit-managed]
                               [--sudo-project-id SUDO_PROJECT_ID]
                               zone_id id

Table 63.19. Positional Arguments

ValueSummary

zone_id

Zone id

id

Recordset id

Table 63.20. Optional 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

--edit-managed

Edit resources marked as managed. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.21. Output Formatters

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

Table 63.22. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.23. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.24. Table Formatter

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]
                                [--edit-managed]
                                [--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. Optional Arguments

ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show results from all projects. default: false

--edit-managed

Edit resources marked as managed. default: false

--sudo-project-id SUDO_PROJECT_ID

Project id to impersonate for this command. default: None

Table 63.27. Output Formatters

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

Table 63.28. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 63.29. Shell Formatter

ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Table 63.30. Table Formatter

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.