Chapter 61. recordset
This chapter describes the commands under the recordset command.
61.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 61.1. Positional arguments
| Value | Summary |
|---|---|
| zone_id | Zone id |
| name | Recordset name |
Table 61.2. Command arguments
| Value | Summary |
|---|---|
| -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 61.3. Output formatter options
| Value | Summary |
|---|---|
| -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 61.4. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 61.5. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 61.6. Table formatter options
| Value | Summary |
|---|---|
| --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. |
61.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 61.7. Positional arguments
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
Table 61.8. Command arguments
| Value | Summary |
|---|---|
| -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 61.9. Output formatter options
| Value | Summary |
|---|---|
| -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 61.10. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 61.11. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 61.12. Table formatter options
| Value | Summary |
|---|---|
| --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. |
61.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 61.13. Positional arguments
| Value | Summary |
|---|---|
| zone_id | Zone id. to list all recordsets specify all |
Table 61.14. Command arguments
| Value | Summary |
|---|---|
| -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 61.15. Output formatter options
| Value | Summary |
|---|---|
| -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 61.16. CSV formatter options
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Table 61.17. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 61.18. Table formatter options
| Value | Summary |
|---|---|
| --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. |
61.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 61.19. Positional arguments
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
Table 61.20. Command arguments
| Value | Summary |
|---|---|
| -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 61.21. Output formatter options
| Value | Summary |
|---|---|
| -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 61.22. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 61.23. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 61.24. Table formatter options
| Value | Summary |
|---|---|
| --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. |
61.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 61.25. Positional arguments
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
Table 61.26. Command arguments
| Value | Summary |
|---|---|
| -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 61.27. Output formatter options
| Value | Summary |
|---|---|
| -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 61.28. JSON formatter options
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
Table 61.29. Shell formatter options
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
Table 61.30. Table formatter options
| Value | Summary |
|---|---|
| --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. |