Chapter 63. recordset
This chapter describes the commands under the recordset command.
63.1. recordset create Copy linkLink copied to clipboard!
Create new recordset
Usage:
| Value | Summary |
|---|---|
| zone_id | Zone id |
| name | Recordset name |
| 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 |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
| 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. |
63.2. recordset delete Copy linkLink copied to clipboard!
Delete recordset
Usage:
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
| 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 |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
| 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. |
63.3. recordset list Copy linkLink copied to clipboard!
List recordsets
Usage:
| Value | Summary |
|---|---|
| zone_id | Zone id. to list all recordsets specify all |
| 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 |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
63.4. recordset set Copy linkLink copied to clipboard!
Set recordset properties
Usage:
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
| 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 |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
| 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. |
63.5. recordset show Copy linkLink copied to clipboard!
Show recordset details
Usage:
| Value | Summary |
|---|---|
| zone_id | Zone id |
| id | Recordset id |
| 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 |
| Value | Summary |
|---|---|
| output formatter options-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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
| 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. |