Este conteúdo não está disponível no idioma selecionado.
Chapter 25. database
This chapter describes the commands under the database command.
25.1. database backup create Copiar o linkLink copiado para a área de transferência!
Usage:
Creates a backup of an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of the backup. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --description <description> | An optional description for the backup. |
| --parent <parent> | Optional id of the parent backup to perform an incremental backup from. |
| --incremental | Create an incremental backup based on the last full or incremental backup. It will create a full backup if no existing backup found. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.2. database backup delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database backup delete [-h] <backup>
openstack database backup delete [-h] <backup>
Deletes a backup.
| Value | Summary |
|---|---|
| <backup> | Id or name of the backup. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.3. database backup execution delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database backup execution delete [-h] <execution>
openstack database backup execution delete [-h] <execution>
Deletes an execution.
| Value | Summary |
|---|---|
| <execution> | Id of the execution to delete. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.4. database backup list Copiar o linkLink copiado para a área de transferência!
Usage:
List database backups
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Return up to n number of the most recent bcakups. |
| --marker <ID> | Begin displaying the results for ids greater than thespecified marker. When used with :option:`--limit,` setthis to the last ID displayed in the previous run. |
| --datastore <datastore> | ID or name of the datastore (to filter backups by). |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.5. database backup list instance Copiar o linkLink copiado para a área de transferência!
Usage:
Lists available backups for an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Return up to n number of the most recent bcakups. |
| --marker <ID> | Begin displaying the results for ids greater than thespecified marker. When used with :option:`--limit,` setthis to the last ID displayed in the previous run. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.6. database backup show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database backup
| Value | Summary |
|---|---|
| <backup> | Id or name of the backup |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.7. database cluster create Copiar o linkLink copiado para a área de transferência!
Usage:
Creates a new database cluster.
| Value | Summary |
|---|---|
| <name> | Name of the cluster. |
| <datastore> | A datastore name or id. |
| <datastore_version> | A datastore version name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --instance "opt=<value>[,opt=<value> …] " | Add an instance to the cluster. Specify multiple times to create multiple instances. Valid options are: flavor=<flavor_name_or_id>, volume=<disk_size_in_GB>, volume_type=<type>, nic='<net-id=<net-uuid>, v4-fixed- ip=<ip-addr>, port-id=<port-uuid>>' (where net- id=network_id, v4-fixed-ip=IPv4r_fixed_address, port- id=port_id), availability_zone=<AZ_hint_for_Nova>, module=<module_name_or_id>, type=<type_of_cluster_node>, related_to=<related_attribute>. |
| --locality <policy> | Locality policy to use when creating cluster. choose one of affinity, anti-affinity. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.8. database cluster delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster delete [-h] <cluster>
openstack database cluster delete [-h] <cluster>
Deletes a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.9. database cluster force delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster force delete [-h] <cluster>
openstack database cluster force delete [-h] <cluster>
Force delete a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.10. database cluster grow Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster grow [-h]
[--instance "opt=<value>[,opt=<value> ...]
"]
<cluster>
openstack database cluster grow [-h]
[--instance "opt=<value>[,opt=<value> ...]
"]
<cluster>
Adds more instances to a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --instance "opt=<value>[,opt=<value> …] " | Add an instance to the cluster. Specify multiple times to create multiple instances. Valid options are: flavor=<flavor_name_or_id>, volume=<disk_size_in_GB>, volume_type=<type>, nic='<net-id=<net-uuid>, v4-fixed- ip=<ip-addr>, port-id=<port-uuid>>' (where net- id=network_id, v4-fixed-ip=IPv4r_fixed_address, port- id=port_id), availability_zone=<AZ_hint_for_Nova>, module=<module_name_or_id>, type=<type_of_cluster_node>, related_to=<related_attribute>. |
This command is provided by the python-troveclient plugin.
25.11. database cluster list Copiar o linkLink copiado para a área de transferência!
Usage:
List database clusters
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Limit the number of results displayed. |
| --marker <ID> | Begin displaying the results for ids greater than the specified marker. When used with :option:`--limit,` set this to the last ID displayed in the previous run. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.12. database cluster list instances Copiar o linkLink copiado para a área de transferência!
Usage:
Lists all instances of a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.13. database cluster modules Copiar o linkLink copiado para a área de transferência!
Usage:
Lists all modules for each instance of a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.14. database cluster reset status Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster reset status [-h] <cluster>
openstack database cluster reset status [-h] <cluster>
Set the cluster task to NONE.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.15. database cluster show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database cluster
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.16. database cluster shrink Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster shrink [-h]
<cluster> <instance> [<instance> ...]
openstack database cluster shrink [-h]
<cluster> <instance> [<instance> ...]
Drops instances from a cluster.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| <instance> | Drop instance(s) from the cluster. specify multiple ids to drop multiple instances. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.17. database cluster upgrade Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database cluster upgrade [-h] <cluster> <datastore_version>
openstack database cluster upgrade [-h] <cluster> <datastore_version>
Upgrades a cluster to a new datastore version.
| Value | Summary |
|---|---|
| <cluster> | Id or name of the cluster. |
| <datastore_version> | A datastore version name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.18. database configuration attach Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database configuration attach [-h] <instance> <configuration>
openstack database configuration attach [-h] <instance> <configuration>
Attaches a configuration group to an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance |
| <configuration> | Id or name of the configuration group to attach to the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.19. database configuration create Copiar o linkLink copiado para a área de transferência!
Usage:
Creates a configuration group.
| Value | Summary |
|---|---|
| <name> | Name of the configuration group. |
| <values> | Dictionary of the values to set. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore <datastore> | Datastore assigned to the configuration group. Required if default datastore is not configured. |
| --datastore_version <datastore_version> | Datastore version ID assigned to the configuration group. |
| --description <description> | An optional description for the configuration group. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.20. database configuration default Copiar o linkLink copiado para a área de transferência!
Usage:
Shows the default configuration of an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.21. database configuration delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database configuration delete [-h] <configuration_group>
openstack database configuration delete [-h] <configuration_group>
Deletes a configuration group.
| Value | Summary |
|---|---|
| <configuration_group> | ID or name of the configuration group |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.22. database configuration detach Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database configuration detach [-h] <instance>
openstack database configuration detach [-h] <instance>
Detaches a configuration group from an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.23. database configuration instances Copiar o linkLink copiado para a área de transferência!
Usage:
Lists all instances associated with a configuration group.
| Value | Summary |
|---|---|
| <configuration_group> | ID or name of the configuration group. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Limit the number of results displayed. |
| --marker <ID> | Begin displaying the results for ids greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.24. database configuration list Copiar o linkLink copiado para a área de transferência!
Usage:
List database configurations
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Limit the number of results displayed. |
| --marker <ID> | Begin displaying the results for ids greater than the specified marker. When used with --limit, set this to the last ID displayed in the previous run. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.25. database configuration parameter list Copiar o linkLink copiado para a área de transferência!
Usage:
Lists available parameters for a configuration group.
| Value | Summary |
|---|---|
| <datastore_version> | Datastore version name or id assignedto the configuration group. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore <datastore> | ID or name of the datastore to list configurationparameters for. Optional if the ID of thedatastore_version is provided. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.26. database configuration parameter show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database configuration parameter.
| Value | Summary |
|---|---|
| <datastore_version> | Datastore version name or id assigned to the configuration group. |
| <parameter> | Name of the configuration parameter. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore <datastore> | ID or name of the datastore to list configuration parameters for. Optional if the ID of the datastore_version is provided. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.27. database configuration show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database configuration group.
| Value | Summary |
|---|---|
| <configuration_group> | ID or name of the configuration group |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.28. database db create Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database db create [-h] [--character_set <character_set>]
[--collate <collate>]
<instance> <name>
openstack database db create [-h] [--character_set <character_set>]
[--collate <collate>]
<instance> <name>
Creates a database on an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of the database. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --character_set <character_set> | Optional character set for database. |
| --collate <collate> | Optional collation type for database. |
This command is provided by the python-troveclient plugin.
25.29. database db delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database db delete [-h] <instance> <database>
openstack database db delete [-h] <instance> <database>
Deletes a database from an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <database> | Name of the database. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.30. database db list Copiar o linkLink copiado para a área de transferência!
Usage:
Get a list of all Databases from the instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.31. database flavor list Copiar o linkLink copiado para a área de transferência!
Usage:
List database flavors
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore-type <datastore-type> | Type of the datastore. For eg: mysql. |
| --datastore-version-id <datastore-version-id> | ID of the datastore version. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.32. database flavor show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database flavor
| Value | Summary |
|---|---|
| <flavor> | Id or name of the flavor |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.33. database instance create Copiar o linkLink copiado para a área de transferência!
Usage:
Creates a new database instance.
| Value | Summary |
|---|---|
| <name> | Name of the instance. |
| <flavor> | A flavor name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --size <size> | Size of the instance disk volume in gb. required when volume support is enabled. |
| --volume_type <volume_type> | Volume type. Optional when volume support is enabled. |
| --databases <database> [<database> …] | Optional list of databases. |
| --users <user:password> [<user:password> …] | Optional list of users. |
| --backup <backup> | A backup name or id. |
| --availability_zone <availability_zone> | The Zone hint to give to Nova. |
| --datastore <datastore> | A datastore name or ID. |
| --datastore_version <datastore_version> | A datastore version name or ID. |
| --nic <net-id=<net-uuid>,v4-fixed-ip=<ip-addr>,port-id=<port-uuid>> | Create a NIC on the instance. Specify option multiple times to create multiple NICs. net-id: attach NIC to network with this ID (either port-id or net-id must be specified), v4-fixed-ip: IPv4 fixed address for NIC (optional), port-id: attach NIC to port with this ID (either port-id or net-id must be specified). |
| --configuration <configuration> | ID of the configuration group to attach to the instance. |
| --replica_of <source_instance> | ID or name of an existing instance to replicate from. |
| --replica_count <count> | Number of replicas to create (defaults to 1 if replica_of specified). |
| --module <module> | Id or name of the module to apply. specify multiple times to apply multiple modules. |
| --locality <policy> | Locality policy to use when creating replicas. choose one of affinity, anti-affinity. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.34. database instance delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance delete [-h] <instance>
openstack database instance delete [-h] <instance>
Deletes an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.35. database instance detach replica Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance detach replica [-h] <instance>
openstack database instance detach replica [-h] <instance>
Detaches a replica instance from its replication source.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.36. database instance eject replica source Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance eject replica source [-h] <instance>
openstack database instance eject replica source [-h] <instance>
Ejects a replica source from its set.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.37. database instance force delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance force delete [-h] <instance>
openstack database instance force delete [-h] <instance>
Force delete an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.38. database instance list Copiar o linkLink copiado para a área de transferência!
Usage:
List database instances
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit <limit> | Limit the number of results displayed. |
| --marker <ID> | Begin displaying the results for ids greater than thespecified marker. When used with :option:`--limit,` setthis to the last ID displayed in the previous run. |
| --include_clustered, --include-clustered | Include instances that are part of a cluster (default False). --include-clustered may be deprecated in the future, retaining just --include_clustered. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.39. database instance promote to replica source Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance promote to replica source [-h] <instance>
openstack database instance promote to replica source [-h] <instance>
Promotes a replica to be the new replica source of its set.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.40. database instance reset status Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance reset status [-h] <instance>
openstack database instance reset status [-h] <instance>
Set the task status of an instance to NONE if the instance is in BUILD or ERROR state. Resetting task status of an instance in BUILD state will allow the instance to be deleted.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.41. database instance resize flavor Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance resize flavor [-h] <instance> <flavor_id>
openstack database instance resize flavor [-h] <instance> <flavor_id>
Resize an instance with a new flavor
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance |
| <flavor_id> | New flavor of the instance |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.42. database instance resize volume Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance resize volume [-h] <instance> <size>
openstack database instance resize volume [-h] <instance> <size>
Resizes the volume size of an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <size> | New size of the instance disk volume in gb. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.43. database instance restart Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance restart [-h] <instance>
openstack database instance restart [-h] <instance>
Restarts an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.44. database instance show Copiar o linkLink copiado para a área de transferência!
Usage:
Show instance details
| Value | Summary |
|---|---|
| <instance> | Instance (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.45. database instance update Copiar o linkLink copiado para a área de transferência!
Usage:
Updates an instance: Edits name, configuration, or replica source.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Id or name of the instance. |
| --configuration <configuration> | ID of the configuration reference to attach. |
| --detach_replica_source, --detach-replica-source | Detach the replica instance from its replication source. --detach-replica-source may be deprecated in the future in favor of just --detach_replica_source |
| --remove_configuration | Drops the current configuration reference. |
This command is provided by the python-troveclient plugin.
25.46. database instance upgrade Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database instance upgrade [-h] <instance> <datastore_version>
openstack database instance upgrade [-h] <instance> <datastore_version>
Upgrades an instance to a new datastore version.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <datastore_version> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.47. database limit list Copiar o linkLink copiado para a área de transferência!
Usage:
List database limits
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.48. database log enable Copiar o linkLink copiado para a área de transferência!
Usage:
Instructs Trove guest to start collecting log details.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <log_name> | Name of log to publish. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.49. database log list Copiar o linkLink copiado para a área de transferência!
Usage:
Lists the log files available for instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.50. database quota show Copiar o linkLink copiado para a área de transferência!
Usage:
Show quotas for a tenant.
| Value | Summary |
|---|---|
| <tenant_id> | Id of tenant for which to show quotas. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.51. database quota update Copiar o linkLink copiado para a área de transferência!
Usage:
Update quotas for a tenant.
| Value | Summary |
|---|---|
| <tenant_id> | Id of tenant for which to update quotas. |
| <resource> | Id of resource to change. |
| <limit> | New limit to set for the named resource. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.52. database root disable Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database root disable [-h] <instance>
openstack database root disable [-h] <instance>
Disables root for an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-troveclient plugin.
25.53. database root enable Copiar o linkLink copiado para a área de transferência!
Usage:
Enables root for an instance and resets if already exists.
| Value | Summary |
|---|---|
| <instance_or_cluster> | ID or name of the instance or cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --root_password <root_password> | Root password to set. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.54. database root show Copiar o linkLink copiado para a área de transferência!
Usage:
Gets status if root was ever enabled for an instance or cluster.
| Value | Summary |
|---|---|
| <instance_or_cluster> | ID or name of the instance or cluster. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.55. database user create Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database user create [-h] [--host <host>]
[--databases <databases> [<databases> ...]]
<instance> <name> <password>
openstack database user create [-h] [--host <host>]
[--databases <databases> [<databases> ...]]
<instance> <name> <password>
Creates a user on an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| <password> | Password of user. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
| --databases <databases> [<databases> …] | Optional list of databases. |
This command is provided by the python-troveclient plugin.
25.56. database user delete Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database user delete [-h] [--host <host>] <instance> <name>
openstack database user delete [-h] [--host <host>] <instance> <name>
Deletes a user from an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
This command is provided by the python-troveclient plugin.
25.57. database user grant access Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database user grant access [-h] [--host <host>]
<instance> <name> <databases>
[<databases> ...]
openstack database user grant access [-h] [--host <host>]
<instance> <name> <databases>
[<databases> ...]
Grants access to a database(s) for a user.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| <databases> | List of databases. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
This command is provided by the python-troveclient plugin.
25.58. database user list Copiar o linkLink copiado para a área de transferência!
Usage:
Lists the users for an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.59. database user revoke access Copiar o linkLink copiado para a área de transferência!
Usage:
openstack database user revoke access [-h] [--host <host>]
<instance> <name> <databases>
openstack database user revoke access [-h] [--host <host>]
<instance> <name> <databases>
Revokes access to a database for a user.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| <databases> | A single database. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
This command is provided by the python-troveclient plugin.
25.60. database user show Copiar o linkLink copiado para a área de transferência!
Usage:
Shows details of a database user of an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-troveclient plugin.
25.61. database user show access Copiar o linkLink copiado para a área de transferência!
Usage:
Shows access details of a user of an instance.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-troveclient plugin.
25.62. database user update attributes Copiar o linkLink copiado para a área de transferência!
Usage:
Updates a user’s attributes on an instance.At least one optional argument must be provided.
| Value | Summary |
|---|---|
| <instance> | Id or name of the instance. |
| <name> | Name of user. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Optional host of user. |
| --new_name <new_name> | Optional new name of user. |
| --new_password <new_password> | Optional new password of user. |
| --new_host <new_host> | Optional new host of user. |
This command is provided by the python-troveclient plugin.